gmail-automation
使用 AI 自動化 Gmail 任務
停止手動管理您的收件匣。此技能使 AI 助理能夠透過 Rube MCP 使用 Gmail 官方 API 發送電子郵件、搜尋郵件、管理標籤和處理草稿。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「gmail-automation」。 Send an email to alice@example.com with subject 'Lunch' and body 'Are you free for lunch on Friday?'
預期結果:
Email sent successfully to alice@example.com. Message ID: msg-18f3a2b1c4d5e6f7. The email has been delivered to the recipient's inbox.
正在使用「gmail-automation」。 Find unread emails from boss@company.com
預期結果:
Found 3 unread emails from boss@company.com:
1. Subject: 'Urgent: Q4 Review' - Received: Feb 24, 2026 10:30 AM
2. Subject: 'Team Meeting Notes' - Received: Feb 23, 2026 3:15 PM
3. Subject: 'Budget Approval Needed' - Received: Feb 22, 2026 9:00 AM
安全審計
安全This skill contains only documentation (SKILL.md - 276 lines of markdown). All 124 static analysis findings are FALSE POSITIVES: backtick patterns are markdown code formatting, not shell execution. The hardcoded URL is the legitimate Rube MCP endpoint. No executable code exists in this repository. Safe for publication.
品質評分
你能建構什麼
主管郵件助理
自動化常規郵件回覆、按寄件者或日期搜尋特定郵件,並使用自訂標籤整理收件匣以進行優先級管理。
客戶支援自動化
按主題或寄件者搜尋客戶詢問、回覆支援工單,並套用標籤以追蹤問題狀態和分類。
個人收件匣管理員
自動標記來函郵件、封存已處理郵件、建立後續跟進草稿,並搜尋帶有附件的重要郵件。
試試這些提示
Send an email to john@example.com with subject 'Meeting Tomorrow' and body 'Hi John, are you available for a meeting at 2 PM tomorrow? Let me know. Thanks!'
Find all unread emails from sarah@company.com from the last week. Show me the most recent one and help me draft a reply.
Create a new label called 'Q1-Projects' with a blue background. Then find all emails with 'Q1' in the subject from this month and apply this label to them.
Create a draft email to team@example.com with subject 'Weekly Report' and attach the file at /documents/report.pdf. Do not send yet, let me review first.
最佳實務
- 在任何 Gmail 操作之前,務必先呼叫 RUBE_SEARCH_TOOLS 以取得目前的工具架構
- 在將標籤套用到郵件之前,使用 GMAIL_LIST_LABELS 將標籤名稱解析為 ID
- 對於大量操作,將郵件批次分塊以保持每次 API 呼叫在 1000 封郵件限制內
避免
- 不要使用 Web UI 郵件 ID 或 UUID - Gmail API 需要 15-16 個字元的十六進位郵件 ID
- 回覆郵件串時不要設定 subject 參數 - 這會建立新的郵件串而非回覆
- 不要對系統狀態使用 label: 前綴 - 請改用 is:unread、is:starred、is:snoozed