Templates / Automate email management with Gemini AI and Gmail for smart responses

Automate email management with Gemini AI and Gmail for smart responses

Ready for 3.0

by Hashir Bin Waseem · 1,370 views · created 2025-09-17 · Ticket Management, AI Chatbot

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 12 nodes and runs on Gmail events. Along the way it connects Gmail and Google Gemini Chat Model.

How it runs

Trigger: On Gmail events.

  1. Get a message (Gmail): get
  2. AI Categorizer (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  3. Reply, Draft, or Nothing (Switch): routes items into 3 branches
  4. Generate Email Reply (AI Agent): runs an AI agent, with model: Gemini Chat Reply
  5. Generate Draft Email (AI Agent): runs an AI agent, with model: Gemini Chat Draft
  6. Reply Email (Gmail): reply
  7. Flag for Human Review (Gmail): work with draft

Services it uses

GmailGoogle Gemini Chat Model

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) (Gmail Trigger).

Nodes used (6)

From the author

Managing your inbox can feel like a full-time job. Some emails deserve an instant response, others need thoughtful handling, and many don’t need a reply at all. This workflow takes that weight off your shoulders by combining AI intelligence with human…

Excerpt from Hashir Bin Waseem'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.