什麼是 gws-gmail-watch?
Gmail:監視新電子郵件並將其作為 NDJSON 進行串流傳輸。 來源:googleworkspace/cli。
Gmail:監視新電子郵件並將其作為 NDJSON 進行串流傳輸。
透過命令列快速安裝 gws-gmail-watch AI 技能到你的開發環境
來源: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 |
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-watchGmail:監視新電子郵件並將其作為 NDJSON 進行串流傳輸。 來源:googleworkspace/cli。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-watch 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/googleworkspace/cli