Automate email management with Gemini AI and Gmail for smart responses
Ready for 3.0Ready 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.
- Get a message (Gmail): get
- AI Categorizer (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
- Reply, Draft, or Nothing (Switch): routes items into 3 branches
- Generate Email Reply (AI Agent): runs an AI agent, with model: Gemini Chat Reply
- Generate Draft Email (AI Agent): runs an AI agent, with model: Gemini Chat Draft
- Reply Email (Gmail): reply
- Flag for Human Review (Gmail): work with draft
Services it uses
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)
- Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - AI Agent
@n8n/n8n-nodes-langchain.agent - No Operation, do nothing
n8n-nodes-base.noOp - Switch
n8n-nodes-base.switch
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…