gmail-workflows

Automate Gmail with intelligent workflows - attachment management, email organization, auto-archiving, and Google Drive integration

By claude-office-skills · 4,284 installs

npx skills add claude-office-skills/skills --skill gmail-workflows

Source repository · Upstream listing

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 : Configuration : 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 : Configuration : 3. Client Communication Organizer Purpose : Automatically organize client emails by project/client Configuration : 4. Email Analytics Dashboard Purpose : Track email metrics and generate reports Metrics to Track : Implementation Guide Using n8n Using Google Apps Script Common Workflow Patterns Pattern 1: Filter → Process → Organize → Notify Pattern 2: Batch Processing Pattern 3: Conditional Routing Troubleshooting Common Issues Issue Solution Attachments not detected Check MIME type filters, increase trigger frequency Duplicate files Enable deduplication by hash or filename Rate limits Reduce trigger frequency, use batch processing Permission errors Re authorize OAuth credentials Large files failing Set size limits, use chunked upload Security Considerations 1. OAuth Scopes : Request minimal permissions gmail.readonly for reading gmail.modify for labels/archive drive.file for Drive access 2. Data Privacy : Don't log email content Use secure storage for credentials Implement retention policies 3. Access Control : Limit who can modify workflows Audit automation activities Use separate service accounts Output Example Daily Email Report : Gmail Workflows Skill Part of Claude Office Skills