Templates / Smart Gmail inbox management with Gemini: Auto-label and draft replies

Smart Gmail inbox management with Gemini: Auto-label and draft replies

Ready for 3.0

by Salvador · 908 views · created 2025-11-09 · Personal Productivity, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 16 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model and Google Calendar.

How it runs

Trigger: On Gmail events.

  1. RemoveLabel (Gmail): remove labels
  2. AI Email Classifier (AI Agent): runs an AI agent, with model: Gemini; 2 tools (CheckSent, GetThread); output parser: Structured Output Parser
  3. If: checks a condition and branches into true / false
  4. TrashMessage (Gmail): add labels
  5. AddLabel (Gmail): add labels
  6. If: checks a condition and branches into true / false
  7. AI Draft Maker (AI Agent): runs an AI agent, with model: Gemini; 2 tools (GetThread, CheckCalendar); output parser: Structured Output Parser
  8. Create a draft (Gmail): work with draft

Services it uses

GmailGoogle Gemini Chat ModelGoogle Calendar

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 (8)

From the author

Keep your Gmail inbox organized and stress-free with this AI-powered workflow. Ideal for freelancers, small business owners, and productivity enthusiasts who receive a high volume of mixed emails. This template automatically sorts messages into predefined…

Excerpt from Salvador'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.