Forward Zoho Mail emails to Gmail with Gemini AI analysis and Telegram digest
Smart email forwarder Zoho mail to Gmail with attachment, analysis by AI agent
This n8n template automatically monitors a Zoho Mail inbox, analyzes every incoming email with Google Gemini AI, then forwards it — including all attachments — to a designated recipient via Gmail. The admin receives an instant smart digest on Telegram with priority level, deadline, and required action extracted by AI.
If you manage a shared inbox and waste time triaging emails before forwarding them, this workflow does it for you — automatically.
How it works
Zoho Mail Trigger:** Detects new incoming emails matching a configured list of sender addresses. AI Analysis:* Google Gemini reads the email subject and summary, then classifies the email type, assigns a priority level (High / Medium / Low), extracts deadlines, key numbers, and required actions — all returned as structured JSON. HTML Builder: Assembles the forwarded email body with an AI analysis panel* embedded at the top, shared across both sending paths. Attachment handling:* If the email has attachments, the workflow fetches each file via the Zoho Mail API, renames binary keys to prevent collision, aggregates all files, then attaches them to the outgoing Gmail. Gmail:* Forwards the formatted email — with or without attachments — to the configured recipient. Telegram:** Sends the admin a structured, emoji-rich notification with all AI-extracted data, so decisions can be made without opening the email.
How to use
Connect credentials: Link your Zoho Mail, Gmail, Google Gemini (googlePalmApi), and Telegram Bot credentials in n8n. Configure in one place: Open the Set Context node and fill in all 6 fields — recipient email, subject prefix, Telegram chat ID, footer text, AI role description, and email category options. Set sender filter: Edit the Zoho Mail Trigger node and update the from field with the sender addresses you want to monitor. Activate the workflow — it runs automatically on every new matching email.
Requirements
n8n Version:* Built and tested on n8n 2.9.4+. (It is recommended to use the latest n8n version for best compatibility.) Zoho Mail* account with OAuth2 credentials and API access enabled. Gmail** account connected via OAuth2. Google Gemini** API key (via googlePalmApi credential). Telegram Bot** token and a target chat ID.
Customizing this workflow
Different inbox:* Swap the Zoho Mail Trigger for a Gmail Trigger, IMAP, or any other email node — the rest of the workflow remains unchanged. Different AI behavior: Change ai_context and ai_type_options in Set Context* to adapt the AI to any domain (legal, finance, HR, support) — no prompt editing needed elsewhere. Different notification channel:* Replace the Telegram node with Slack, Discord, or Microsoft Teams. Persistent storage: Add a Google Sheets or Airtable* node after Telegram to log every forwarded email with its AI analysis for audit purposes.
About the Author
Created by: Nguyễn Thiệu Toàn (Jay Nguyen) Email: me@nguyenthieutoan.com Website: nguyenthieutoan.com Company: GenStaff (genstaff.net) Socials (Facebook / X / LinkedIn): @nguyenthieutoan More templates: n8n.io/creators/nguyenthieutoan
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments