gws-gmail
Installation
Summary
Send, read, and manage Gmail messages, drafts, labels, and account settings.
- Seven helper commands cover common workflows: send, triage unread messages, reply, reply-all, forward, read message bodies, and watch for new emails in real-time
- Full Gmail API access via
usersresource with methods for profiles, drafts, history, labels, messages, settings, threads, and push notifications - Use
gws schemato inspect method signatures and required parameters before building CLI calls with--paramsand--jsonflags - Requires
gwsbinary and authentication setup documented ingws-shared/SKILL.md
SKILL.md
gmail (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws gmail <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+send |
Send an email |
+triage |
Show unread inbox summary (sender, subject, date) |
+reply |
Reply to a message (handles threading automatically) |
+reply-all |
Reply-all to a message (handles threading automatically) |
+forward |
Forward a message to new recipients |
+read |
Read a message and extract its body or headers |
+watch |
Watch for new emails and stream them as NDJSON |
Related skills
More from googleworkspace/cli
gws-docs
Read and write Google Docs.
26.0Kgws-drive
Google Drive: Manage files, folders, and shared drives.
26.0Kgws-sheets
Google Sheets: Read and write spreadsheets.
24.6Kgws-calendar
Google Calendar: Manage calendars and events.
24.6Kgws-docs-write
Google Docs: Append text to a document.
21.8Kgws-sheets-read
Google Sheets: Read values from a spreadsheet.
21.6K