AI Agents

A very simple human-in-the-loop email system using AI

16 nodes 208 120 Manual trigger
Download

Workflow Description

A streamlined email management system combining artificial intelligence with human oversight. Automatically reads incoming messages, analyzes them using advanced language models, generates intelligent responses, and presents recommendations for user approval before sending, ensuring complete control over communications.

How it works

  1. 1.Retrieve incoming emails via IMAP protocol from configured mailbox
  2. 2.Analyze message content using LLM Chain and AI Agent to understand context and intent
  3. 3.Present summarized content and suggested responses to user for review and decision
  4. 4.Send approved replies automatically through email service after human confirmation

Use cases

  • Managing high-volume inboxes while maintaining response quality and personalization
  • Automating routine replies and follow-ups with mandatory human quality review
  • Extracting key information from complex emails and generating contextual summaries

Requirements

  • Active email account with IMAP protocol support enabled
  • OpenAI API key with appropriate model access permissions
  • Configured outbound email service for sending approved responses

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 LLM Chain AI Agent OpenAI

Details

Trigger Manual trigger
Nodes 16
Apps 5
Views 208
Downloads 120

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 (16)

/

Email Trigger (IMAP)

Email Read Imap

#1

Markdown

Markdown

#2

Send Email

Email Send

#3

Email Summarization Chain

Chain Summarization

#4

Write email

Agent

#5

OpenAI

OpenAI

#6

Sticky Note2

Sticky Note

#7

Sticky Note5

Sticky Note

#8

Sticky Note1

Sticky Note

#9

Sticky Note7

Sticky Note

#10

Approve Email

Email Send

#11

OpenAI Chat Model

OpenAI

#12

Set Email text

Set

#13

Sticky Note

Sticky Note

#14

Sticky Note11

Sticky Note

#15

Approved?

If

#16