From gws
Sends Gmail emails via gws CLI: specify to/cc/bcc recipients, subject, plain/HTML body, with dry-run preview. Requires gws auth.
npx claudepluginhub wadewarren/gws-claude-pluginThis skill uses the workspace's default tool permissions.
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
Sends plain text Gmail emails via gws CLI. Use --to, --subject, --body flags. Requires gws auth; confirm before write operations.
Forwards Gmail messages to new recipients via gws CLI with flags for message ID, recipients, CC/BCC, body notes, HTML, and dry-run. Useful for email automation in scripts.
Automates Gmail via Google Apps Script: send emails with HTML/CC/BCC, read/search inbox with filters, create drafts, mark as read. Useful for email workflows in code.
Share bugs, ideas, or general feedback.
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Send an email
gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>
| 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 |
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
[!CAUTION] This is a write command — confirm with the user before executing.