Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Manage Gmail via the Google Workspace CLI: send, read, triage, reply, forward, and watch emails.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: gws-gmail3description: "Gmail: Send, read, and manage email."4metadata:5version: 0.22.56openclaw:7category: "productivity"8requires:9bins:10- gws11cliHelp: "gws gmail --help"12---1314# gmail (v1)1516> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1718```bash19gws gmail <resource> <method> [flags]20```2122## Helper Commands2324| Command | Description |25|---------|-------------|26| [`+send`](../gws-gmail-send/SKILL.md) | Send an email |27| [`+triage`](../gws-gmail-triage/SKILL.md) | Show unread inbox summary (sender, subject, date) |28| [`+reply`](../gws-gmail-reply/SKILL.md) | Reply to a message (handles threading automatically) |29| [`+reply-all`](../gws-gmail-reply-all/SKILL.md) | Reply-all to a message (handles threading automatically) |30| [`+forward`](../gws-gmail-forward/SKILL.md) | Forward a message to new recipients |31| [`+read`](../gws-gmail-read/SKILL.md) | Read a message and extract its body or headers |32| [`+watch`](../gws-gmail-watch/SKILL.md) | Watch for new emails and stream them as NDJSON |3334## API Resources3536### users3738- `getProfile` — Gets the current user's Gmail profile.39- `stop` — Stop receiving push notifications for the given user mailbox.40- `watch` — Set up or update a push notification watch on the given user mailbox.41- `drafts` — Operations on the 'drafts' resource42- `history` — Operations on the 'history' resource43- `labels` — Operations on the 'labels' resource44- `messages` — Operations on the 'messages' resource45- `settings` — Operations on the 'settings' resource46- `threads` — Operations on the 'threads' resource4748## Discovering Commands4950Before calling any API method, inspect it:5152```bash53# Browse resources and methods54gws gmail --help5556# Inspect a method's required params, types, and defaults57gws schema gmail.<resource>.<method>58```5960Use `gws schema` output to build your `--params` and `--json` flags.6162