Loading...
Loading...
Gmail: Read a message and extract its body or headers.
npx skill4agent add googleworkspace/cli gws-gmail-readPREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
gws gmail +read --id <ID>| Flag | Required | Default | Description |
|---|---|---|---|
| ✓ | — | The Gmail message ID to read |
| — | — | Include headers (From, To, Subject, Date) in the output |
| — | text | Output format (text, json) |
| — | — | Return HTML body instead of plain text |
| — | — | Show the request that would be sent without executing it |
gws gmail +read --id 18f1a2b3c4d
gws gmail +read --id 18f1a2b3c4d --headers
gws gmail +read --id 18f1a2b3c4d --format json | jq '.body'