Automated Email Summarization and Response with AI

somdn_product_page

This n8n workflow automates the management of incoming emails by reading messages via IMAP, converting them into Markdown for better processing, and summarizing their content using AI. It retrieves relevant information from a vector database (Qdrant) by embedding email content through OpenAI embeddings, enabling contextual retrieval. The workflow then generates tailored responses with AI language models, classifies the feedback, and rewrites emails if needed, before sending them via Gmail. This process streamlines email handling, improves response quality, and ensures efficient communication, making it ideal for customer support, business inquiries, or email-based workflows.

Node Count

>20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.chainSummarization, @n8n/n8n-nodes-langchain.documentDefaultDataLoader, @n8n/n8n-nodes-langchain.embeddingsOpenAi, @n8n/n8n-nodes-langchain.lmChatDeepSeek, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.textClassifier, @n8n/n8n-nodes-langchain.textSplitterTokenSplitter, @n8n/n8n-nodes-langchain.vectorStoreQdrant, emailReadImap, emailSend, gmail, googleDrive, httpRequest, manualTrigger, markdown, set, stickyNote