gws-gmail-watch
Gmail: Watch for new emails and stream them as NDJSON.
Skill by googleworkspace
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/googleworkspace-gws-gmail-watch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gws-gmail-watch
What's inside
- Skill name
gws-gmail-watch- Description
- Gmail: Watch for new emails and stream them as NDJSON.
- License
- Apache-2.0
- Metadata
- version: 0.22.5
- Instructions
- 48 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# gmail +watch > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. Watch for new emails and stream them as NDJSON ## Usage ```bash gws gmail +watch ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `--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 | | `--output-dir` | — | — | Write each message to a separate JSON file in this directory | ## Examples ```bash gws gmail +watch --project my-gcp-project gws gmail +watch --project my-project --label-ids INBOX --once gws gmail +watch --subscription projects/p/subscriptions/my-sub gws gmail +watch --project my-project --cleanup --output-dir ./emails ``` ## Tips - Gmail watch expires after 7 days — re-run to renew. - Without --cleanup, Pub/Sub resources persist for reconnection. - Press Ctrl-C to stop gracefully. ## See Also - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
From googleworkspace/cli, Apache-2.0.
More from googleworkspace/cli
- 0.539score
gws-shared
googleworkspace
gws CLI: Shared patterns for authentication, global flags, and output formatting.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-workflow-meeting-prep
googleworkspace
Google Workflow: Prepare for your next meeting: agenda, attendees, and linked docs.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-modelarmor-sanitize-response
googleworkspace
Google Model Armor: Sanitize a model response through a Model Armor template.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-script-push
googleworkspace
Google Apps Script: Upload local files to an Apps Script project.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-events-subscribe
googleworkspace
Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-workflow-email-to-task
googleworkspace
Google Workflow: Convert a Gmail message into a Google Tasks entry.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-modelarmor-sanitize-prompt
googleworkspace
Google Model Armor: Sanitize a user prompt through a Model Armor template.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-gmail-reply
googleworkspace
Gmail: Reply to a message (handles threading automatically).
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-gmail-reply-all
googleworkspace
Gmail: Reply-all to a message (handles threading automatically).
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-events-renew
googleworkspace
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-modelarmor
googleworkspace
Google Model Armor: Filter user-generated content for safety.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-workflow-standup-report
googleworkspace
Google Workflow: Today's meetings + open tasks as a standup summary.
SkillDFreshness: D★ 31.8KClaude Code +9
Signals
- Stars
- 31,848
- Forks
- 1,951
- Open issues
- 134
- Last commit (this folder)
- Mar 31, 2026 (7 months ago)
- Last release
- Mar 31, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.22.5
- License
- Apache-2.0
- Repository
- github.com/googleworkspace/cli
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.295score
gws-gmail-watch
WadeWarren
Gmail: Watch for new emails and stream them as NDJSON.
SkillDFreshness: D★ 39Claude Code +9 - 0.257score
gws-gmail-watch
davidzha712
Gmail: Watch for new emails and stream them as NDJSON.
SkillDFreshness: D★ 2Claude Code +9 - 0.240score
gws-gmail-watch
agentsfusion
Gmail: Watch for new emails and stream them as NDJSON.
SkillDFreshness: DClaude Code +9
More from googleworkspace
- 0.539score
gws-gmail-reply-all
googleworkspace
Gmail: Reply-all to a message (handles threading automatically).
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-modelarmor
googleworkspace
Google Model Armor: Filter user-generated content for safety.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-gmail-reply
googleworkspace
Gmail: Reply to a message (handles threading automatically).
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-events-renew
googleworkspace
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-events-subscribe
googleworkspace
Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.
SkillDFreshness: D★ 31.8KClaude Code +9 - 0.539score
gws-modelarmor-sanitize-prompt
googleworkspace
Google Model Armor: Sanitize a user prompt through a Model Armor template.
SkillDFreshness: D★ 31.8KClaude Code +9
Cite this page
gws-gmail-watch skill. Agent Mart. https://agentmart.dev/skills/googleworkspace-gws-gmail-watch (last updated 2026-10-24)