gmail-automation
Automate Gmail Tasks with AI
Stop manually managing your inbox. This skill enables AI assistants to send emails, search messages, manage labels, and handle drafts through Gmail's official API via Rube MCP.
下載技能 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.
品質評分
你能建構什麼
Executive Email Assistant
Automate routine email responses, search for specific messages by sender or date, and organize inbox with custom labels for priority management.
Customer Support Automation
Search for customer inquiries by subject or sender, reply to support tickets, and apply labels to track issue status and categorization.
Personal Inbox Manager
Automatically label incoming emails, archive processed messages, create drafts for follow-ups, and search for important emails with attachments.
試試這些提示
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.
最佳實務
- Always call RUBE_SEARCH_TOOLS first to get current tool schemas before any Gmail operation
- Use GMAIL_LIST_LABELS to resolve label names to IDs before applying labels to messages
- For bulk operations, chunk message batches to stay under the 1000 message limit per API call
避免
- Do not use web UI message IDs or UUIDs - Gmail API requires 15-16 character hex message IDs
- Do not set subject parameter when replying to threads - it creates a new thread instead
- Do not use label: prefix for system states - use is:unread, is:starred, is:snoozed instead