con un clic
gmail-write
Send emails, create drafts, trash messages, and modify labels using gws CLI. Use this skill when any Founder OS plugin needs to write or modify Gmail data — replaces Gmail MCP server write operations.
Menú
Send emails, create drafts, trash messages, and modify labels using gws CLI. Use this skill when any Founder OS plugin needs to write or modify Gmail data — replaces Gmail MCP server write operations.
Scans Founder OS plugin deployment, scores coverage by business area, and produces an actionable automation scorecard. Used by /audit:scan and /audit:report commands.
Loads structured business context files into plugin execution context. Activates at the start of any plugin command to provide business knowledge, current strategy, and operational data. Plugins inline the loading logic directly (same pattern as gws CLI usage).
Read Google Calendar events and check availability using gws CLI. Use this skill when any Founder OS plugin needs to list events, check schedules, or query free/busy status — replaces Google Calendar MCP server read operations.
Create, update, and delete Google Calendar events using gws CLI. Use this skill when any Founder OS plugin needs to modify calendar events — replaces Google Calendar MCP server write operations.
Search, list, and retrieve Google Drive files using gws CLI. Use this skill when any Founder OS plugin needs to find, read, or export Drive files — replaces Google Drive MCP server read operations.
Upload, create, and update Google Drive files using gws CLI. Use this skill when any Founder OS plugin needs to write files to Drive — replaces Google Drive MCP server write operations.
| name | gmail-write |
| description | Send emails, create drafts, trash messages, and modify labels using gws CLI. Use this skill when any Founder OS plugin needs to write or modify Gmail data — replaces Gmail MCP server write operations. |
Gmail write operations via gws CLI. Covers sending, drafting, trashing, and label management.
gmail.send (for sending), gmail.modify (for label/trash), gmail.insert (for drafts)# Quick send
gws gmail +send --to recipient@example.com --subject 'Subject Line' --body 'Email body text'
# Send with CC
gws gmail +send --to recipient@example.com --cc other@example.com --subject 'Subject' --body 'Body'
The +send helper handles MIME encoding automatically.
# Create a draft (requires base64-encoded MIME message)
gws gmail users drafts create --params '{"userId":"me"}' --json '{"message":{"raw":"BASE64_ENCODED_MIME"}}'
To create the base64 MIME message:
# Build MIME message and base64 encode it
raw=$(printf "To: recipient@example.com\r\nSubject: Draft Subject\r\nContent-Type: text/plain\r\n\r\nDraft body text" | base64 -w 0)
gws gmail users drafts create --params '{"userId":"me"}' --json "{\"message\":{\"raw\":\"$raw\"}}"
gws gmail users messages trash --params '{"userId":"me","id":"MSG_ID"}'
# Add and/or remove labels
gws gmail users messages modify --params '{"userId":"me","id":"MSG_ID"}' --json '{"addLabelIds":["STARRED"],"removeLabelIds":["UNREAD"]}'
Common label IDs: INBOX, UNREAD, STARRED, IMPORTANT, TRASH, SPAM, DRAFT
gws gmail users messages modify --params '{"userId":"me","id":"MSG_ID"}' --json '{"removeLabelIds":["UNREAD"]}'
gws gmail users messages modify --params '{"userId":"me","id":"MSG_ID"}' --json '{"removeLabelIds":["INBOX"]}'