Skip to content
FlowHubFluxonLab
A
AI Automationfree

A Very Simple "Human in the Loop" Email Response System Using AI and IMAP

by Davide Boizzaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentOpenAI Chat ModelOpenAI Chat ModelSend EmailSend EmailSummarization ChainSummarization Chain
Share Post Share
EREmail Trigger (IMAP)Email Trigger (…MaMarkdownESSend EmailCSEmail Summarization ChainEmail Summariza…AgWrite emailOpenAIESApprove EmailOpenAI Chat ModelOpenAI Chat Mod…SeSet Email textIfApproved?123456789
1/5
STEPS · 9
Execution path through the workflow

Functionality This workflow automates the handling of incoming emails by summarizing their content, generating appropriate responses, and validating the responses through a "Human-in-the-Loop" system. It integrates with IMAP email services (e.g., Gmail, Outlook) and uses AI models to streamline the email response process. The workflow ensures that all AI-generated responses are reviewed by a human before being sent, maintaining a high level of professionalism and accuracy. This approach is particularly useful for businesses that receive a high volume of emails and need to respond quickly while ensuring quality control. How It Works Email Trigger: The workflow starts with the Email Trigger (IMAP) node, which monitors an email inbox for new messages. When a new email arrives, it triggers the workflow. Email Preprocessing: The Markdown node converts the email's HTML content into plain text for easier processing by the AI models. Email Summarization: The Email Summarization Chain node uses an AI model (OpenAI) to generate a concise summary of the email. The summary is limited to 100 words and is written in a professional tone.

Tags

n8nreference-onlyagentchain-summarizationemail-sendlm-chat-open-ai
Connects
AAI AgentopenaichatmodelOpenAI Chat ModelsendemailSend EmailsummarizationchainSummarization Chain
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes10
AddedFeb 14, 2025

Related workflows

See all AI Automation
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

Slack chatbot powered by AI

This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team