← All N8N workflows
AI & researchAgentChain LLMChain SummarizationDocument Default Data LoaderEmail Read Imap

Email AI Auto-responder. Summerize and send email

Configured with Agent, Chain LLM, Chain Summarization, Document Default Data Loader, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
MessagingEmail Trigger (IMAP)Email Read ImapTransformMarkdownMarkdownAI & modelsDeepSeek R1OpenAI Chat ModelMessagingSend EmailEmail SendData storeQdrant Vector StoreVector Store QdrantAI & modelsEmbeddings OpenAIEmbeddings Open AiAI & modelsEmail ClassifierText ClassifierAI & modelsEmail SummarizationChainChain SummarizationAI & modelsWrite emailAgentAI & modelsReview emailChain LLMTriggerWhen clicking ‘Testworkflow’Manual TriggerWeb / APICreate collectionHTTP RequestWeb / APIRefresh collectionHTTP RequestFiles / mediaGet folderGoogle DriveFiles / mediaDownload FilesGoogle DriveFiles / mediaDefault Data LoaderDocument Default Data Lo…TransformToken SplitterText Splitter Token Spli…Data storeQdrant Vector Store1Vector Store QdrantAI & modelsEmbeddings OpenAI1Embeddings Open AiRoutingDo nothingNo OpAI & modelsOpenAIOpenAI Chat ModelAI & modelsDeepSeekOpenAI Chat ModelAI & modelsOpenAI 4-o-miniOpenAI Chat Model

Node categories in this workflow

  • Messaging
  • Transform
  • AI & models
  • Data store
  • Trigger
  • Web / API
  • Files / media
  • Routing

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Email Trigger (IMAP)MessagingEmail Read ImapSee node parameters
MarkdownTransformMarkdownSee node parameters
DeepSeek R1AI & modelsOpenAI Chat ModelSee node parameters
Send EmailMessagingEmail SendSee node parameters
Qdrant Vector StoreData storeVector Store QdrantSee node parameters
Embeddings OpenAIAI & modelsEmbeddings Open AiSee node parameters
Email ClassifierAI & modelsText ClassifierSee node parameters
Email Summarization ChainAI & modelsChain SummarizationSee node parameters
Write emailAI & modelsAgentSee node parameters
Review emailAI & modelsChain LLMSee node parameters
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Create collectionWeb / APIHTTP RequestPOST
Refresh collectionWeb / APIHTTP RequestPOST
Get folderFiles / mediaGoogle DrivefileFolder
Download FilesFiles / mediaGoogle Drivedownload
Default Data LoaderFiles / mediaDocument Default Data LoaderSee node parameters
Token SplitterTransformText Splitter Token SplitterSee node parameters
Qdrant Vector Store1Data storeVector Store QdrantSee node parameters
Embeddings OpenAI1AI & modelsEmbeddings Open AiSee node parameters
Do nothingRoutingNo OpSee node parameters
OpenAIAI & modelsOpenAI Chat ModelSee node parameters
DeepSeekAI & modelsOpenAI Chat ModelSee node parameters
OpenAI 4-o-miniAI & modelsOpenAI Chat ModelSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • googleDriveOAuth2Api
  • httpHeaderAuth
  • imap
  • openAiApi
  • qdrantApi
  • smtp

Workflow notes

STEP 1

STEP 1

Create Qdrant Collection

Change:

  • QDRANTURL
  • COLLECTION
STEP 2

STEP 2

Documents vectorization with Qdrant and Google Drive

Change:

  • QDRANTURL
  • COLLECTION
STEP 3 - MAIN FLOW

STEP 3 - MAIN FLOW

  • Transform the email into Markdown format for optimal reading by the LLM model
  • Email Summarization through DeepSeek R1 (any model can be used)
  • I classify the email in such a way as to continue only with emails regarding general information about the company. In this way I can respond independently through the information obtained from the vector database
  • I create a chain where I entrust the review of the email to a high-performance model designed for this purpose
  • I send the response email
Email AI Auto-responder. Summerize and send email

Email AI Auto-responder. Summerize and send email

Purpose and structure

This folder contains the Email AI Auto-responder. Summerize and send email workflow. Its executable nodes use agent, chainLlm, chainSummarization, documentDefaultDataLoader, emailReadImap, emailSend, embeddingsOpenAi, googleDrive, httpRequest, lmChatOpenAi, manualTrigger, markdown, noOp, textClassifier, textSplitterTokenSplitter, vectorStoreQdrant. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking ‘Test workflow’

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Emailreadimap/1277_Emailreadimap_Manual_Send_Webhook.json MIT; preserve source notices.

More in AI & research