M
MJK.Supplies
Home / n8n / n8n Email Automation: Sequences, Triggers, and S…
n8n

n8n Email Automation: Sequences, Triggers, and Smart Follow-Ups

Email is still the highest ROI marketing and sales channel. Automating email with n8n means you can trigger personalised messages at exactly the right moment, process inbound emails with AI, manage sequences automatically, and connect email to the rest of your business stack. This guide covers every major email automation pattern in n8n.

M
MJK Supplies · May 31, 2026 · 10 min read
ShareXinf↗
n8n Email Automation: Sequences, Triggers, and Smart Follow-Ups

Email Automation Foundations

n8n supports all major email platforms via native nodes:

Outbound email sending:

  • Gmail (via Google node)
  • Outlook/Microsoft 365 (via Microsoft node)
  • SMTP (generic; works with any email provider)
  • SendGrid (native node; best for bulk/transactional)
  • Mailchimp (native node; marketing automation)
  • Brevo/Sendinblue (native node)

Inbound email processing:

  • Gmail trigger (new email received)
  • IMAP trigger (works with any email provider)
  • Email Parser (extract data from structured emails)

Inbound Email Processing

Processing inbound email is where AI changes everything:

Basic pattern: Gmail trigger → Claude (classify + analyse) → branch (route based on classification) → action

Classification workflow:

// Claude API call { "model": "claude-sonnet-4-6", "max_tokens": 512, "system": "Classify this email into exactly one category: support, sales_inquiry, billing, partnership, spam. Return JSON only: {\"category\": \"...\", \"urgency\": \"high|medium|low\", \"summary\": \"one sentence\"}", "messages": [{ "role": "user", "content": "Subject: {{ $json.subject }}\n\nBody: {{ $json.body }}" }] }

Then use IF/Switch nodes to route:

  • support → create Zendesk ticket
  • sales_inquiry → create HubSpot deal + notify sales rep
  • billing → create billing task + customer lookup
  • spam → archive

Automated Email Responses

Not every email should be manually responded to. Automate responses for:

FAQ responses:

  1. Gmail trigger: new support email
  2. Claude: "Does this email contain a question about [specific topic]? If yes, answer from this knowledge base. If no, return 'NEEDS_HUMAN'."
  3. IF: if response ≠ NEEDS_HUMAN → Gmail draft response
  4. ELSE → Route to support team with Claude's suggested response

Lead acknowledgement:

  1. Inbound lead form → email notification
  2. Claude: generate personalised response referencing their specific inquiry
  3. Gmail: send immediate acknowledgement email
  4. HubSpot: create contact + deal

Appointment confirmation:

  1. Calendly webhook (booking made)
  2. Claude: generate personalised confirmation including relevant preparation tips
  3. Gmail: send confirmation
  4. Calendar: create internal reminder

Cold Email Sequences

Build outbound email sequences that run automatically:

Sequence architecture:

  1. Airtable row created (new lead) → trigger n8n
  2. Claude: generate personalised email 1 from lead data
  3. Gmail: send email 1
  4. Wait 72 hours
  5. Check: has lead replied? (Gmail search for thread)
  6. If replied: remove from sequence + notify rep
  7. If no reply: Claude generates email 2 (different angle)
  8. Gmail: send email 2
  9. Wait 7 days → email 3 → wait 14 days → email 4 (break-up email)

The reply check in n8n:

// Code node — check for reply const threadId = $node["Send Email 1"].json.threadId; // Use Gmail API to search for replies to this thread // If reply found, return reply:true, else reply:false

Transactional Email Automation

For SaaS products, trigger emails based on user behavior:

Trial activation email: Webhook (user signs up) → Wait 5 minutes → Claude (personalise onboarding email based on role/industry from signup form) → SendGrid → track open

Usage threshold alert: Daily trigger → Database (check usage metrics) → Filter (users approaching limit) → Claude (personalise upgrade nudge based on their usage patterns) → SendGrid

Re-engagement campaign: Weekly trigger → Database (users inactive >14 days) → Claude (generate re-engagement message mentioning features they used most) → Email → Track response

Email Analytics Integration

Connect email open/click data to your CRM:

SendGrid webhooks → n8n:

  1. SendGrid: configure event webhook to n8n URL
  2. n8n trigger: receive opens/clicks
  3. HubSpot: update contact engagement score
  4. IF: if 3+ opens → create "hot prospect" task for rep

Gmail read receipts: Gmail API can check if emails were read. Use this for sales follow-up timing:

  1. Daily check: which emails were opened but not replied to?
  2. Claude: generate context-aware follow-up based on email content
  3. Create draft follow-up for rep to send

Recommended Tools

#n8n#email#automation

Related articles

MJK Supplies · Automation Services

Want this built for you?

We design and ship custom AI agents and automation systems for teams that want results, not a backlog. Book a free 30-minute consult — no commitment, no pitch deck.