Monitor emails & send AI-generated auto-replies with Ollama & Telegram alerts
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs when a new email arrives over IMAP. Along the way it connects Telegram and Ollama Model.
How it runs
Trigger: When a new email arrives over IMAP.
- Send Notification from Incoming Email (Telegram): uses Telegram
- Dedicate Filtering As No-Response (If): checks a condition and branches into true / false
- Basic LLM Chain: sends a prompt to an LLM, with model: Ollama Model
- Send Auto-Response in SMTP (example POSTFIX) (Send Email): sends an email over SMTP
- Send Notification from Response (Telegram): uses Telegram
Services it uses
Other Ollama + Telegram templates (17)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- No Operation, do nothing
n8n-nodes-base.noOp - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Ollama Model
@n8n/n8n-nodes-langchain.lmOllama - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Send Email
n8n-nodes-base.emailSend
From the author
Workflow Overview This advanced n8n workflow provides intelligent email automation with AI-generated responses. It combines four core functions: 1. Monitors incoming emails via IMAP (e.g., SOGo) 2. Sends instant Telegram notifications for all new emails 3.…