
Gmail Workflows
Automate Gmail workflows — reading, sending, labeling, and routing mail.
Install
npx skills add https://github.com/claude-office-skills/skills --skill gmail-workflowsWhat is this skill?
- Gmail workflows
- Mail automation
- Labeling/routing
Adoption & trust: 2.8k installs on skills.sh; 196 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Agent Browservercel-labs/agent-browser
Lark Imlarksuite/cli
Lark Calendarlarksuite/cli
Lark Sheetslarksuite/cli
Lark Vclarksuite/cli
Lark Contactlarksuite/cli
Journey fit
Common Questions / FAQ
Is Gmail Workflows safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Gmail Workflows
# Gmail Workflows Automate Gmail with intelligent workflows for attachment management, email organization, and Google Drive integration. Based on n8n's 7,800+ workflow templates. ## Overview This skill helps you design and implement Gmail automation workflows that: - Automatically save attachments to Google Drive - Organize emails with smart labeling - Archive processed emails - Send notifications via Slack/Email - Track email metrics ## Core Workflow Templates ### 1. Gmail Attachment Manager **Purpose**: Automatically extract attachments from emails and save to Google Drive **Workflow Steps**: ``` ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ Gmail │───▶│ Filter by │───▶│ Extract │───▶│ Upload to │ │ Trigger │ │ Criteria │ │ Attachments │ │ Google Drive│ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ ┌─────────────┐ ┌─────────────┐ │ │ Send │◀───│ Apply Label │◀───┘ │ Notification│ │ & Archive │ └─────────────┘ └─────────────┘ ``` **Configuration**: ```yaml trigger: type: gmail_new_email filters: has_attachment: true from: ["*@company.com", "*@vendor.com"] subject_contains: ["invoice", "report", "contract"] actions: - extract_attachments: file_types: [pdf, xlsx, docx, csv] max_size_mb: 25 - upload_to_drive: folder_path: "/Attachments/{year}/{month}" naming_pattern: "{filename}_{sender}_{date}" create_folder_if_missing: true - organize_email: apply_label: "Processed/Attachments" mark_as_read: true archive: true - notify: channel: slack message: "New attachment saved: {filename} from {sender}" ``` **Best Practices**: - Use specific sender filters to avoid processing spam - Set file size limits to prevent storage issues - Use date-based folder structure for easy retrieval - Enable duplicate detection to avoid redundant uploads --- ### 2. Invoice Auto-Archiver **Purpose**: Automatically collect and organize invoices from email **Workflow Steps**: ``` Gmail Trigger → Detect Invoice → Extract PDF → OCR/Parse → Save to Drive → Update Spreadsheet → Archive Email ``` **Configuration**: ```yaml trigger: subject_patterns: - "invoice" - "bill" - "statement" - "付款" - "发票" processing: - detect_invoice: methods: [subject_keywords, attachment_name, sender_domain] - extract_data: fields: [invoice_number, amount, date, vendor, due_date] use_ocr: true - save_to_drive: folder: "/Finance/Invoices/{year}/{vendor}" naming: "{date}_{vendor}_{amount}" - update_tracker: spreadsheet: "Invoice Tracker" columns: [Date, Vendor, Amount, Invoice#, Status, File_Link] - archive: label: "Finance/Invoices" star: true ``` --- ### 3. Client Communication Organizer **Purpose**: Automatically organize clien