gws-gmail — All send, read, and manage email commands
1---2name: gws-gmail-send3description: gmail +send4---5# gmail +send67> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, stop and repair the declarative skill deployment.89Send an email1011## Usage1213```bash14gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>15```1617## Flags1819| Flag | Required | Default | Description |20|------|----------|---------|-------------|21| `--to` | ✓ | — | Recipient email address(es), comma-separated |22| `--subject` | ✓ | — | Email subject |23| `--body` | ✓ | — | Email body (plain text, or HTML with --html) |24| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) |25| `--attach` | — | — | Attach a file (can be specified multiple times) |26| `--cc` | — | — | CC email address(es), comma-separated |27| `--bcc` | — | — | BCC email address(es), comma-separated |28| `--html` | — | — | Treat --body as HTML content (default is plain text) |29| `--dry-run` | — | — | Show the request that would be sent without executing it |30| `--draft` | — | — | Save as draft instead of sending |3132## Examples3334```bash35gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'36gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com37gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html38gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --from alias@example.com39gws gmail +send --to alice@example.com --subject 'Report' --body 'See attached' -a report.pdf40gws gmail +send --to alice@example.com --subject 'Files' --body 'Two files' -a a.pdf -a b.csv41gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --draft42```4344## Tips4546- Handles RFC 5322 formatting, MIME encoding, and base64 automatically.47- Use --from to send from a configured send-as alias instead of your primary address.48- Use -a/--attach to add file attachments. Can be specified multiple times. Total size limit: 25MB.49- With --html, use fragment tags (<p>, <b>, <a>, <br>, etc.) — no <html>/<body> wrapper needed.50- Use --draft to save the message as a draft instead of sending it immediately.5152> [!CAUTION]53> This is a **write** command — confirm with the user before executing.5455## See Also5657- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth58- [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
Run npx skillmds@latest add wimpysworld/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.
gmail +send It is listed under Coding & Dev Tools on SkillMD.
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.
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.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
wimpysworld (@wimpysworld) published this skill. Their other Agent Skills are listed on their SkillMD profile.