Intelligent email management with AI summarization and classification
Workflow Description
Automate email processing by reading messages, summarizing content with AI agents, classifying by priority, storing insights in a vector database, and creating follow-up tasks in Google Drive for better workflow organization.
How it works
- 1.Read incoming emails via IMAP and extract text content
- 2.Summarize and classify messages using AI agent powered by LLM
- 3.Store message summaries and embeddings in Qdrant vector store
- 4.Send automated replies based on message classification results
- 5.Create and link relevant tasks in Google Drive for important messages
Use cases
- Reduce email overload by automatically prioritizing and summarizing high-volume correspondence
- Extract structured data from unstructured email content for CRM and analytics
- Auto-respond to routine inquiries and flag exceptions for human review
Requirements
- Email account configured with IMAP access enabled
- OpenAI API key for LLM and embedding models
- Google Drive account connected for task creation
- Qdrant vector database instance for storing message embeddings
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (31)
Email Trigger (IMAP)
Email Read Imap
Markdown
Markdown
Send Email
Email Send
Qdrant Vector Store
Vector Store Qdrant
Embeddings OpenAI
OpenAI
Email Summarization Chain
Chain Summarization
Write email
Agent
OpenAI
OpenAI
Gmail
Gmail
Text Classifier
If
Edit Fields
Set
When clicking ‘Test workflow’
Manual Trigger
Create collection
HTTP Request
Refresh collection
HTTP Request
Get folder
Google Drive
Download Files
Google Drive
Default Data Loader
Document Default Data Loader
Token Splitter
Text Splitter Token Splitter
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Qdrant Vector Store1
Vector Store Qdrant
Embeddings OpenAI1
OpenAI
Sticky Note
Sticky Note
DeepSeek Chat Model
Lm Chat Deep Seek
Sticky Note2
Sticky Note
Sticky Note5
Sticky Note
Sticky Note1
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Email Reviewer
Agent
Sticky Note8
Sticky Note