gws-gmail-draft
FreeNo executable scriptsNot checkedCreate unsent Gmail drafts through the named work, personal, or columbia gws account alias with a portable draft-only helper. Use when the user explicitly…
by ma08★ 31 GitHub starsAbout this skill
Gmail Draft Creation
Create Gmail drafts through gws-gmail-draft. The helper calls only Gmail users.drafts.create; it never calls a send method.
Intent Gate
- An explicit request such as “save this in Gmail drafts” or “create a Gmail draft” authorizes draft creation in the named mailbox.
- A vague request such as “draft an email” means compose text locally first. Ask before writing it into Gmail.
- Sending is a separate action. Never interpret draft approval as send approval, and always obtain explicit confirmation immediately before sending.
Accounts
work→[email protected]personal→[email protected]columbia→ authenticated mailbox[email protected]; default visible From address[email protected]
If the intended mailbox is unclear, ask which alias to use before creating the draft.
Workflow
- Read
../gws-shared/SKILL.mdand../gws-account-switch/SKILL.md. - Confirm
~/.config/gws/accounts/<alias>.jsonexists without printing it. - For the
columbiaalias, default the visible From address to the accepted send-as identity[email protected]. Use[email protected]only when the user explicitly asks for it or the context specifically requires the primary mailbox identity. - Prefer a body file for long or sensitive content so it is not exposed in process arguments.
- Run
--dry-runfirst and review the safe summary, including the resolved From address. - If Gmail intent is explicit, run the same command without
--dry-run. - Report the account alias, resolved From address, recipients, subject, and returned draft ID. State clearly that nothing was sent.
Examples
gws-gmail-draft work \
--to [email protected] \
--subject "Follow-up" \
--body-file ./draft.txt \
--dry-run
gws-gmail-draft work \
--to [email protected] \
--cc [email protected] \
--subject "Follow-up" \
--body-file ./draft.txt
gws-gmail-draft personal \
--to [email protected] \
--subject "Invoice" \
--body-file ./body.html \
--html \
--attach ./invoice.pdf
--to, --cc, --bcc, and --attach are repeatable. Address flags also accept comma-separated values. A draft may omit recipients when the message is intentionally incomplete.
Permission Boundary
Google does not provide a general draft-only OAuth scope. The required gmail.compose scope also technically permits sending. The helper and this skill are workflow guardrails, not a cryptographic restriction on the credential.
Never bypass the helper with gmail +send, messages.send, or drafts.send while performing a draft-creation request.
Install gws-gmail-draft in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the gws-gmail-draft skill do?
Create unsent Gmail drafts through the named work, personal, or columbia gws account alias with a portable draft-only helper. Use when the user explicitly asks to save or create an email in Gmail drafts.
How do I install the gws-gmail-draft skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the gws-gmail-draft skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
by Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
by Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
by Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
by Anthropic