{"product_id":"n8n-workflow-gmail-imap-email-review-ai-reply-with-qdrant","title":"n8n Workflow: Gmail IMAP Email Review \u0026 AI Reply with Qdrant","description":"\u003ch3\u003eReview incoming emails and generate approval-ready AI replies—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors your inbox via IMAP, summarizes new messages with DeepSeek, drafts a concise response using an OpenAI agent powered by Qdrant, and routes the result through a Gmail “send and wait” human approval step. If you approve, it replies via SMTP; if not, it revises the email based on your feedback.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eReceives a new incoming email from an IMAP inbox you configure.\u003c\/li\u003e\n  \u003cli\u003eConverts the email HTML into Markdown and summarizes the message with \u003cstrong\u003eDeepSeek\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses an \u003cstrong\u003eOpenAI agent\u003c\/strong\u003e with a \u003cstrong\u003eQdrant retrieval tool\u003c\/strong\u003e to draft a concise reply using your company knowledge base.\u003c\/li\u003e\n  \u003cli\u003eSends the original email and the AI draft to a designated Gmail address using \u003cstrong\u003e“send and wait”\u003c\/strong\u003e to collect human feedback.\u003c\/li\u003e\n  \u003cli\u003eClassifies feedback with OpenAI as \u003cstrong\u003eApproved\u003c\/strong\u003e or \u003cstrong\u003eDeclined\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIf approved, sends the drafted reply back to the original sender via \u003cstrong\u003eSMTP\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIf declined, rewrites the email using an OpenAI “reviewer” agent based on the feedback, and sends it back for approval again.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCustomer support triage:\u003c\/strong\u003e summarize inbound questions and propose a response that’s reviewed by a team member.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSales follow-ups:\u003c\/strong\u003e draft concise replies grounded in your Qdrant knowledge base, then send only after approval.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperations communication:\u003c\/strong\u003e speed up routine email replies while keeping a human in the loop.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIMAP\u003c\/strong\u003e for reading new messages; \u003cstrong\u003eSMTP\u003c\/strong\u003e for sending replies.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail OAuth2\u003c\/strong\u003e integration required for “send and wait for response” approval workflow.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMarkdown\u003c\/strong\u003e conversion of email HTML before summarization.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeepSeek\u003c\/strong\u003e for summarizing inbound email content (optional, if you choose to enable it).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e for draft\/rewrite and feedback classification.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eQdrant\u003c\/strong\u003e as a knowledge base (URL, API key, collection name; ingestion from a specified Google Drive folder via the manual setup flow).\u003c\/li\u003e\n  \u003cli\u003eWorkflow components include: \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, \u003cstrong\u003emarkdown\u003c\/strong\u003e, and email send elements.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45899952226483,"sku":"N8N-18711","price":33.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/zFnU48oX_guu9reXjv9p5_SID4ES2D.png?v=1787735284","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-gmail-imap-email-review-ai-reply-with-qdrant","provider":"N8N Commerce","version":"1.0","type":"link"}