AI Agents

Easily manage email using AI

31 nodes 221 121 Automatic trigger
Download

Workflow Description

An AI-powered automation template that streamlines email management by reading incoming messages, analyzing their content using advanced language models, automatically categorizing them, and generating intelligent responses or triggering appropriate actions based on message type and context.

How it works

  1. 1.Read incoming emails via IMAP and store them in a vector database for semantic search
  2. 2.Analyze email content using OpenAI and Deep Seek language models to extract intent and meaning
  3. 3.Classify messages automatically and route to appropriate handlers (auto-reply, archive, forward, extract data)
  4. 4.Send intelligent responses or save processed data to Google Drive for archival and team access

Use cases

  • Automatically filter and respond to low-priority emails, reducing manual workload
  • Summarize important client messages and organize them into categorized folders
  • Extract structured data from emails and classify sensitive information for compliance

Requirements

  • Active email account with IMAP protocol enabled
  • API keys for OpenAI and Deep Seek language models
  • Google Drive integration for storing processed data and archives

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Email Read Imap Email Send Vector Store OpenAI LLM Chain AI Agent Gmail If Google Drive Document Default Data Loader Text Splitter Lm Chat Deep Seek

Details

Trigger Automatic trigger
Nodes 31
Apps 12
Views 221
Downloads 121

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (31)

/

Email Trigger (IMAP)

Email Read Imap

#1

Markdown

Markdown

#2

Send Email

Email Send

#3

Qdrant Vector Store

Vector Store Qdrant

#4

Embeddings OpenAI

OpenAI

#5

Email Summarization Chain

Chain Summarization

#6

Write email

Agent

#7

OpenAI

OpenAI

#8

Gmail

Gmail

#9

Text Classifier

If

#10

Edit Fields

Set

#11

When clicking ‘Test workflow’

Manual Trigger

#12

Create collection

HTTP Request

#13

Refresh collection

HTTP Request

#14

Get folder

Google Drive

#15

Download Files

Google Drive

#16

Default Data Loader

Document Default Data Loader

#17

Token Splitter

Text Splitter Token Splitter

#18

Sticky Note3

Sticky Note

#19

Sticky Note4

Sticky Note

#20

Qdrant Vector Store1

Vector Store Qdrant

#21

Embeddings OpenAI1

OpenAI

#22

Sticky Note

Sticky Note

#23

DeepSeek Chat Model

Lm Chat Deep Seek

#24

Sticky Note2

Sticky Note

#25

Sticky Note5

Sticky Note

#26

Sticky Note1

Sticky Note

#27

Sticky Note6

Sticky Note

#28

Sticky Note7

Sticky Note

#29

Email Reviewer

Agent

#30

Sticky Note8

Sticky Note

#31