File contents gmail +send
PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
Send an email
Usage
gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>
Flags
Flag
Required
Default
Description
--to
✓
—
Recipient email address(es), comma-separated
--subject
✓
—
Email subject
--body
✓
—
Email body (plain text, or HTML with --html)
--cc
—
—
CC email address(es), comma-separated
--bcc
—
—
BCC email address(es), comma-separated
--html
—
—
Treat --body as HTML content (default is plain text)
--dry-run
—
—
Show the request that would be sent without executing it
Examples
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --bcc secret@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html
Tips
Handles RFC 2822 formatting and base64 encoding automatically.
For attachments, use the raw API instead: gws gmail users messages send --json '...'
[!CAUTION]
This is a write command — confirm with the user before executing.
See Also
1 --- 2 name: gws-gmail-send 3 description: Gmail: Send an email. 4 --- 5 6 # gmail +send 7 8 > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. 9 10 Send an email 11 12 ## Usage 13 14 ```bash 15 gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT> 16 ``` 17 18 ## Flags 19 20 | Flag | Required | Default | Description | 21 |------|----------|---------|-------------| 22 | `--to` | ✓ | — | Recipient email address(es), comma-separated | 23 | `--subject` | ✓ | — | Email subject | 24 | `--body` | ✓ | — | Email body (plain text, or HTML with --html) | 25 | `--cc` | — | — | CC email address(es), comma-separated | 26 | `--bcc` | — | — | BCC email address(es), comma-separated | 27 | `--html` | — | — | Treat --body as HTML content (default is plain text) | 28 | `--dry-run` | — | — | Show the request that would be sent without executing it | 29 30 ## Examples 31 32 ```bash 33 gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!' 34 gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com 35 gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --bcc secret@example.com 36 gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html 37 ``` 38 39 ## Tips 40 41 - Handles RFC 2822 formatting and base64 encoding automatically. 42 - For attachments, use the raw API instead: gws gmail users messages send --json '...' 43 44 > [!CAUTION] 45 > This is a **write** command — confirm with the user before executing. 46 47 ## See Also 48 49 - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth 50 - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
wadewarren/gws-claude-plugin/tree/main/skills/gws-gmail-send commit ca96c323c9
Frequently asked questions How do I install the Gws Gmail Send skill? Run npx skillmds@latest add wadewarren/gws-gmail-send in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Gws Gmail Send skill do? Gmail: Send an email. It is listed under Productivity on SkillMD.
Is Gws Gmail Send safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Gws Gmail Send? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Gws Gmail Send free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Gws Gmail Send? wadewarren (@wadewarren) published this skill. Their other Agent Skills are listed on their SkillMD profile.