What is gws-gmail-watch?
Gmail: Watch for new emails and stream them as NDJSON. Source: googleworkspace/cli.
Gmail: Watch for new emails and stream them as NDJSON.
Quickly install gws-gmail-watch AI skill to your development environment via command line
Source: googleworkspace/cli.
PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
| --project | — | — | GCP project ID for Pub/Sub resources | | --subscription | — | — | Existing Pub/Sub subscription name (skip setup) | | --topic | — | — | Existing Pub/Sub topic with Gmail push permission already granted | | --label-ids | — | — | Comma-separated Gmail label IDs to filter (e.g., INBOX,UNREAD) |
| --max-messages | — | 10 | Max messages per pull batch | | --poll-interval | — | 5 | Seconds between pulls | | --msg-format | — | full | Gmail message format: full, metadata, minimal, raw | | --once | — | — | Pull once and exit | | --cleanup | — | — | Delete created Pub/Sub resources on exit |
Stable fields and commands for AI/search citations.
npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-watchGmail: Watch for new emails and stream them as NDJSON. Source: googleworkspace/cli.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-watch Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/googleworkspace/cli