gws-gmail — All send, read, and manage email commands
1---2name: gws-gmail-send3description: 'Gmail: Send an email.'4metadata:5 source: https://skillmd.com/skills/agents-store/gws-gmail-send6---78# gmail +send910> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1112Send an email1314## Usage1516```bash17gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>18```1920## Flags2122| Flag | Required | Default | Description |23|------|----------|---------|-------------|24| `--to` | ✓ | — | Recipient email address(es), comma-separated |25| `--subject` | ✓ | — | Email subject |26| `--body` | ✓ | — | Email body (plain text, or HTML with --html) |27| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) |28| `--attach` | — | — | Attach a file (can be specified multiple times) |29| `--cc` | — | — | CC email address(es), comma-separated |30| `--bcc` | — | — | BCC email address(es), comma-separated |31| `--html` | — | — | Treat --body as HTML content (default is plain text) |32| `--dry-run` | — | — | Show the request that would be sent without executing it |33| `--draft` | — | — | Save as draft instead of sending |3435## Examples3637```bash38gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'39gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com40gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html41gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --from alias@example.com42gws gmail +send --to alice@example.com --subject 'Report' --body 'See attached' -a report.pdf43gws gmail +send --to alice@example.com --subject 'Files' --body 'Two files' -a a.pdf -a b.csv44gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --draft45```4647## Tips4849- Handles RFC 5322 formatting, MIME encoding, and base64 automatically.50- Use --from to send from a configured send-as alias instead of your primary address.51- Use -a/--attach to add file attachments. Can be specified multiple times. Total size limit: 25MB.52- With --html, use fragment tags (<p>, <b>, <a>, <br>, etc.) — no <html>/<body> wrapper needed.53- Use --draft to save the message as a draft instead of sending it immediately.5455> [!CAUTION]56> This is a **write** command — confirm with the user before executing.5758## See Also5960- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth61- [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
Run npx get-skill add agents-store/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 an email. It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. 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.
agents-store (@agents-store) published this skill. Their other Agent Skills are listed on their SkillMD profile.