Templates / Summarize Gmail emails with Gemini and send an HTML action digest

Summarize Gmail emails with Gemini and send an HTML action digest

Ready for 3.0

by Mohammed Aljer · 325 views · created 2026-01-31 · 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 19 nodes and runs on a schedule (every 12 hours) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model and Gmail.

How it runs

Trigger: On a schedule (every 12 hours) (plus 1 other trigger).

  1. Config (edit me) (Edit Fields (Set)): sets 1 field: recipientEmail
  2. Compute receivedAfter (now - 12h) (Date & Time): formats or calculates dates
  3. Fetch Gmail emails (receivedAfter) (Gmail): get many
  4. Normalize email fields (From/To/snippet/messageId) (Edit Fields (Set)): sets 8 fields: id, Body, From…
  5. Filter: Inbox only (If): checks a condition and branches into true / false
  6. If: checks a condition and branches into true / false
  7. Build Gmail “Open message” link (Edit Fields (Set)): sets 1 field: link
  8. AI: extract summary, action, priority (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  9. Send “no new emails” email (Gmail): uses Gmail
  10. Merge: merges the data from its input branches

…plus 2 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelGmail

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.

Nodes used (12)

From the author

Who’s it for This template is for anyone who wants a quick, structured inbox review (founders, freelancers, support, operations) without reading every email. What it does Every 12 hours, the workflow checks Gmail for emails received in the last 12 hours, then…

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