If you only automate one thing this year, make it email. The average knowledge worker spends 2.6 hours per day on email — much of it on tasks a well-configured n8n workflow can handle in milliseconds. This guide shows you exactly how to build that system.
Why Email Is the Best Starting Point
Email sits at the centre of almost every business process. Leads come in via email. Client requests arrive via email. Invoices, receipts, support tickets — all email. That means automating email multiplies the value of every other automation you build.
Unlike social media or CRM workflows, email automation has immediate, measurable impact: fewer missed leads, faster response times, less context-switching. And with n8n, you own the infrastructure — no per-task pricing, no data leaving your stack.
The Four Email Workflows Worth Building First
Don't try to automate everything at once. Start with these four high-leverage workflows and build from there.
1. Inbox Triage — Auto-Label and Route
The most common email pain point isn't volume — it's not knowing what needs attention now. An n8n triage workflow solves this by reading incoming emails, classifying them with a simple AI prompt, and applying labels or routing to the right folder.
Here's the basic flow:
- Trigger: Gmail / IMAP node — fires on new email
- Filter: check sender, subject keywords, and body snippet
- AI node: classify as "lead", "support", "invoice", "newsletter", or "other"
- Route: apply Gmail label or move to folder based on classification
- Optional: send Slack/Telegram alert for "lead" or "urgent" categories
This alone saves 20–30 minutes daily for most solo operators. The classification step uses an OpenAI or Anthropic node with a prompt as simple as: "Classify this email into one of: lead, support, invoice, newsletter, other. Reply with just the category."
2. AI-Powered Auto-Reply Drafts
Full auto-replies are risky for client-facing communication. What works better is draft generation: n8n reads the email, generates a reply, and saves it as a Gmail draft ready for your one-click review and send.
Pair this with the triage workflow above and you'll find yourself spending 5 minutes reviewing drafts instead of 45 minutes writing from scratch. The quality is high enough that most drafts need only minor tweaks.
3. Lead Capture → CRM Sync
Every inbound enquiry that hits your inbox should land in your CRM immediately — not when you get around to it. An n8n lead capture workflow bridges that gap automatically.
- Trigger: new email classified as "lead"
- Extract: name, email address, company (AI parse from body)
- Deduplicate: check if contact already exists in HubSpot / Airtable / Notion
- Create: new contact record with source, timestamp, email snippet
- Notify: ping Slack with deal summary and link to CRM record
The deduplication step is critical — without it, you end up with duplicate contacts for every follow-up email. Use the HubSpot "search contact by email" node before creating.
4. Invoice and Receipt Processing
Finance teams and solopreneurs alike waste hours manually logging receipts. Automating invoice processing with n8n is one of those workflows that pays for itself within a week.
- Trigger: new email with "invoice" or "receipt" label
- Extract attachment: PDF or image
- AI parse: extract vendor, amount, date, currency
- Log: append row to Google Sheets or create record in Airtable
- Optional: forward to accounting software via webhook
For PDFs, use the n8n PDF extract node or send the file content to a vision-capable AI model. Accuracy is typically 95%+ on structured invoices from SaaS tools and major vendors.
Setting Up Gmail in n8n
The most common setup question is authentication. Use OAuth2 for Gmail, not IMAP — it's more reliable and doesn't require enabling less-secure app access.
- In n8n: Credentials → New → Gmail OAuth2
- In Google Cloud Console: create a project, enable Gmail API, create OAuth2 credentials
- Scopes needed: gmail.readonly, gmail.modify, gmail.compose (for drafts)
- Test with a simple "read last 5 emails" workflow before building complex ones
For self-hosted n8n, set your callback URL in Google Cloud Console to https://your-n8n-domain.com/rest/oauth2-credential/callback. This is the most common setup error — get it right first.
Avoiding the Common Mistakes
- No error handling — add an error trigger node that notifies you when workflows fail
- Processing all email — always filter to specific labels or senders first
- Auto-sending without review — draft mode is safer than auto-send until you trust the output
- Not rate-limiting — Gmail API has quotas; add a wait node between bulk operations
- Forgetting to test with real edge cases — blank subjects, forwarded emails, HTML-only bodies
- Week 1: Build triage workflow — auto-label by category
- Week 2: Add AI draft generation for common reply types
- Week 3: Connect leads to your CRM automatically
- Week 4: Automate invoice/receipt logging to spreadsheet
- Ongoing: Refine AI prompts based on draft quality
The beauty of building this in n8n is that each workflow is modular — you can turn them on and off, adjust prompts, and add new routes without touching anything else. Start with triage, prove the value, then expand.
Want this built for your stack without the setup time? We build email automation systems for teams — get in touch and we'll scope it out.