{"product_id":"ai-email-triage-n8n-workflow-imap-inbound-smtp-reply-http-apis","title":"AI Email Triage n8n Workflow: IMAP Inbound, SMTP Reply \u0026 HTTP APIs","description":"\u003ch3\u003eAutomatically triage inbound emails with AI, draft replies, and send or route for approval—inside n8n\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eAI Email Triage n8n workflow\u003c\/strong\u003e pulls new inbound messages from an IMAP inbox (or accepts them via webhook), uses external \u003cstrong\u003eHTTP AI endpoints\u003c\/strong\u003e to classify and draft responses, then either \u003cstrong\u003eauto-replies via SMTP\u003c\/strong\u003e or sends the draft to a \u003cstrong\u003ehuman review queue\u003c\/strong\u003e with logging.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIngests inbound email\u003c\/strong\u003e: runs on a schedule to poll \u003cstrong\u003eIMAP\u003c\/strong\u003e for unseen messages, or receives inbound messages as \u003cstrong\u003eJSON\u003c\/strong\u003e via a \u003cstrong\u003ewebhook\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes message data\u003c\/strong\u003e: standardizes each message into a consistent structure (message ID, sender, subject, body, received time).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI classification (HTTP API)\u003c\/strong\u003e: sends normalized content to a classification endpoint that returns strict \u003cstrong\u003eJSON labels\u003c\/strong\u003e (e.g., category and confidence).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI drafting (HTTP API)\u003c\/strong\u003e: sends the message plus classification results to a drafting endpoint to generate a reply draft in your chosen tone.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRouting rules\u003c\/strong\u003e: applies rules to decide whether the draft can be auto-sent or must be reviewed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuto-send + logging\u003c\/strong\u003e: if enabled, replies via \u003cstrong\u003eSMTP\u003c\/strong\u003e in the same email thread and logs the outcome to a \u003cstrong\u003edatabase endpoint\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHuman review queue + notification\u003c\/strong\u003e: if review is required, creates a queue item, notifies an approver via a webhook (e.g., \u003cstrong\u003eSlack or email\u003c\/strong\u003e), and logs the \u003cstrong\u003epending-review\u003c\/strong\u003e status to the database endpoint.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRoute support and sales inbox messages by category\/confidence and only auto-respond when safe.\u003c\/li\u003e\n  \u003cli\u003eSend drafts for approval when an email needs human context (billing, legal, sensitive requests).\u003c\/li\u003e\n  \u003cli\u003eUnify inbound handling by using IMAP polling or a webhook entry point for other systems.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/technologies\u003c\/strong\u003e: \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ewebhook\u003c\/code\u003e, \u003ccode\u003eemail send\u003c\/code\u003e, \u003ccode\u003ehttp request\u003c\/code\u003e (plus a \u003ccode\u003esticky note\u003c\/code\u003e for workflow guidance).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: IMAP (read), SMTP (reply), external \u003cstrong\u003eHTTP AI endpoints\u003c\/strong\u003e, database endpoint for logging, and approver notifications via webhook (e.g., \u003cstrong\u003eSlack\u003c\/strong\u003e or email).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup\u003c\/strong\u003e: configure IMAP + SMTP credentials and the SMTP “from” address, then choose \u003cstrong\u003eone entry point\u003c\/strong\u003e (scheduled IMAP polling or inbound webhook) to avoid double processing.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46066372378803,"sku":"N8N-19734","price":60.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/nl-zIeWZa5tbyfPXrIJoe_Sppbrbjp.png?v=1789895381","url":"https:\/\/buyflowscripts.com\/products\/ai-email-triage-n8n-workflow-imap-inbound-smtp-reply-http-apis","provider":"N8N Commerce","version":"1.0","type":"link"}