Templates / Automate Daily Email Digest with Gmail and GPT Summary Sent Every Afternoon

Automate Daily Email Digest with Gmail and GPT Summary Sent Every Afternoon

Needs changes

by Piotr Sobolewski ✓ · 2,164 views · created 2025-07-29 · Personal Productivity, AI Summarization

Needs changes. This template uses 3 thing(s) that n8n 3.0 removes: Cron, Function (legacy), OpenAI (legacy). 3 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 6 nodes and runs on a schedule (legacy Cron node). Along the way it connects Gmail.

How it runs

Trigger: On a schedule (legacy Cron node).

  1. Calculate Today's Dates (Function): runs custom JavaScript (legacy Function node)
  2. Get Today's Emails (Gmail) (Gmail): get many
  3. Combine Email Content (Function): runs custom JavaScript (legacy Function node)
  4. AI: Summarize Emails (OpenAI): uses OpenAI
  5. Send Summary Email (Gmail): uses Gmail

Services it uses

Gmail

Before you upgrade to n8n 3.0

3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • Cron in Afternoon Trigger (4 PM): replace with Schedule Trigger.
  • Function (legacy) in Calculate Today's Dates, Combine Email Content: replace with Code node, mode 'Run Once for All Items'.
  • OpenAI (legacy) in AI: Summarize Emails: replace with OpenAI node (AI section).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Cron
Afternoon Trigger (4 PM)
Schedule Trigger
Function (legacy)
Calculate Today's Dates, Combine Email Content
Code node, mode 'Run Once for All Items'
OpenAI (legacy)
AI: Summarize Emails
OpenAI node (AI section)

Nodes used (4)

From the author

How it works This workflow helps you stay on top of your inbox without constant interruptions. Every afternoon, it automatically: - Fetches all emails received in your inbox throughout the current day. - Intelligently summarizes the key content of these…

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