Triage inbound email with IMAP, custom AI HTTP APIs and SMTP
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 14 nodes and runs on a schedule (every day) (plus 3 other triggers). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every day) (plus 3 other triggers).
- Normalize Email Message (Code): runs custom JavaScript code
- Classify Email Content (HTTP Request): calls an HTTP API (POST)
- Draft AI Reply (HTTP Request): calls an HTTP API (POST)
- Determine Approval Requirement (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Send SMTP Reply (Send Email): sends an email over SMTP
- Queue for Human Approval (Code): runs custom JavaScript code
- Log Sent Email (HTTP Request): calls an HTTP API (POST)
- Log Awaiting Approval (HTTP Request): calls an HTTP API (POST)
- Notify Approver for Review (HTTP Request): calls an HTTP API (POST)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend
From the author
Quick overview This workflow triages inbound email by fetching messages via IMAP (or receiving them via webhook), sending the content to external AI HTTP endpoints to classify and draft a reply, then either routes the draft for human approval or replies via…