AI Agents

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

16 nodes 214 125 Manual trigger
Download

Workflow Description

An email management system that combines human oversight with artificial intelligence, reading incoming messages via IMAP, analyzing them with OpenAI language models, and presenting AI-suggested responses for human approval before automatic sending.

How it works

  1. 1.Retrieve incoming emails from mailbox using IMAP protocol
  2. 2.Process messages through an intelligent agent powered by OpenAI to understand content and generate responses
  3. 3.Present suggested replies for human review and manual approval
  4. 4.Send approved responses to original senders via email

Use cases

  • Streamline inbox management while maintaining quality control over automated responses
  • Automatically categorize and summarize important emails with final human decision-making authority

Requirements

  • Email account with IMAP protocol enabled
  • Valid OpenAI API key with appropriate access level
  • n8n instance with email and AI integration nodes configured

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 214
Downloads 125

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