My n8n schema for email analysis
An inbox is often a hidden business process — just scattered and manual.
Flow
- Trigger: webhook / IMAP / Gmail node.
- Normalize: subject, sender, body, attachments.
- Classify: rules + optional LLM (lead / support / spam / invoice).
- Extract: CRM fields (company, amount, due date).
- Route: Slack, CRM, sheet, auto-reply.
Why it works
n8n owns orchestration. The LLM gets narrow context and a clear JSON output schema. Humans only handle exceptions.
Lesson
Do not automate “the whole email”. Automate the decision and route — the rest is node detail.