Templates / Email AI Agent (with step by step video)

Email AI Agent (with step by step video)

Ready for 3.0

by Milan Vasarhelyi - SmoothWork ✓ · 304 views · created 2026-01-23 · Ticket Management, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Telegram.

How it runs

Trigger: On Gmail events.

  1. Get Knowledge Base Data (Data table): get
  2. Get Gmail Labels List (Gmail): work with label
  3. Aggregate: combines items into one
  4. Email Categorization AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Create a draft in Gmail, Add label to message in Gmail, Send a text message in Telegram)

Services it uses

GmailOpenAI Chat ModelTelegram

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (New Email Trigger).

Nodes used (8)

From the author

Video Introduction Want to automate your inbox or need a custom workflow? 📞 Book a Call | 💬 DM me on Linkedin --- What This Workflow Does This AI-powered email assistant automatically processes incoming Gmail messages, categorizes them, adds appropriate…

Excerpt from Milan Vasarhelyi - SmoothWork's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.