Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/CLI & Terminal
googleworkspace avatar

Gws Gmail Watch

googleworkspace/cliOfficial

Streams incoming Gmail messages as NDJSON using Google Cloud Pub/Sub, which is useful for building email automation workflows or monitoring specific inboxes. Sets up the necessary Pub/Sub topic and subscription automatically, handles Gmail's push notifications, and lets you filter by label IDs like INBOX or UNREAD. The watch expires after 7 days so you'll need to re-run it periodically. Works well for feeding email data into scripts or dashboards, though you'll need a GCP project with billing enabled since it creates Pub/Sub resources.

installs
37.3K
GitHub stars
31.9K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add googleworkspace/cli --skill gws-gmail-watch --agent claude-code

Installs into .claude/skills of the current project.

Files

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

gws gmail +watch

Flags

FlagRequiredDefaultDescription
--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—10Max messages per pull batch
--poll-interval—5Seconds between pulls
--msg-format—fullGmail 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

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 — Global flags and auth
  • gws-gmail — All send, read, and manage email commands
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
  • Gws Gmail Reply35.2K
  • Gws Gmail Forward33.8K
  • Gws Workflow33.6K
  • Gws Chat33.2K
  • Gws Gmail Reply All33K
  • Gws People33K
  • Gws Workflow Email To Task32.6K
  • Recipe Create Presentation32.5K
  • Gws Chat Send32K
  • Gws Workflow Meeting Prep32K
  • Gws Workflow Weekly Digest31.7K
  • Gws Workflow Standup Report31.7K
  • Recipe Draft Email From Doc31.7K
  • Persona Project Manager31.6K
  • Recipe Email Drive Link31.5K
  • Gws Events31.5K
  • Recipe Create Gmail Filter31.4K
  • Persona Researcher31.3K
  • Recipe Save Email Attachments31.1K
  • Recipe Backup Sheet As Csv31.1K
  • Recipe Organize Drive Folder31.1K
  • Persona Exec Assistant31K
  • Recipe Find Free Time30.9K
  • Gws Workflow File Announce30.9K

Recommended

More CLI & Terminal
1googleworkspace avatargws-gmail-replygoogleworkspace/cliGmail: Reply to a message (handles threading automatically).35.2Kinstalls
2googleworkspace avatargws-gmail-forwardgoogleworkspace/cliGmail: Forward a message to new recipients.33.8Kinstalls
3googleworkspace avatargws-workflowgoogleworkspace/cliGoogle Workflow: Cross-service productivity workflows.33.6Kinstalls
4firecrawl avatarfirecrawl-monitorfirecrawl/cliDetect when content on a website changes and get notified by webhook or email — no cron jobs, scrapers, or diff scripts required. Use this skill whenever the us33.3Kinstalls
5googleworkspace avatargws-chatgoogleworkspace/cliGoogle Chat: Manage Chat spaces and messages.33.2Kinstalls
6googleworkspace avatargws-gmail-reply-allgoogleworkspace/cliGmail: Reply-all to a message (handles threading automatically).33Kinstalls