From gws
Stream real-time Gmail notifications using gws gmail +watch for continuous inbox monitoring.
npx claudepluginhub fakoli/fakoli-plugins --plugin gwsThis skill uses the workspace's default tool permissions.
Stream real-time Gmail notifications using `gws gmail +watch` for continuous inbox monitoring.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
Stream real-time Gmail notifications using gws gmail +watch for continuous inbox monitoring.
Use this workflow when the user wants real-time monitoring of their inbox — watching for new emails as they arrive rather than polling.
gws auth login --full (needs Pub/Sub access)export GOOGLE_WORKSPACE_PROJECT_ID=my-project-idEnsure full scopes are active:
gws auth status
# If missing pubsub scope:
gws auth login --scopes gmail,pubsub,cloud-platform
Start the real-time stream:
gws gmail +watch --project my-project-id
This outputs NDJSON — one JSON object per line for each new message.
Process the stream (example — log new emails):
gws gmail +watch --project my-project-id | while read -r line; do
echo "$line" | jq '{from: .from, subject: .subject, date: .date}'
done
Combine with triage for a live dashboard:
# Periodic check alongside the stream
gws gmail +triage --max 5 --format table
+watch command runs continuously — it will not exit on its ownjq or similar filtersCtrl+C to stop the stream--sanitize to scan incoming emails for prompt injectiongws gmail +watch >> inbox.ndjson