⚡ Automated daily email analysis & summary with GPT-4o and Gmail

3,289 views · ⚡ Personal Productivity

Description

Daily Email Pulse Summary:

This agent summarizes a user’s daily emails into a clean, actionable summary. It uses OpenAI to analyze content and sends a formatted “Daily Pulse” email at the end of each day.

Main use cases:

Keep track of open loops and next steps across all email conversations

Identify high-potential leads and flag conversations going nowhere

Eliminate the need to manually review your inbox at day’s end

Build a smart summary layer using AI without hallucination or noise

How it works

This workflow can be divided into eight core nodes, each serving a distinct purpose in helping a user stay on top of their day. The result is a curated, AI-generated summary delivered to your inbox — crafted from real message content, not guesswork.

  1. Schedule Trigger (Trigger Node – Runs Daily at Set Time)
  1. Date Transformer (Function Node – Define Today & Tomorrow Range)
  1. Get All Messages (Gmail Node – Fetch Filtered Emails)
  1. Aggregator (Function or Item Lists Node – Combine Message Fields)
From: John@example.com  
Subject: Demo Follow-up  
Body: Let’s schedule a time this week...
  1. Email Cleanup (Function Node – Remove Noise & Normalize Text)
  1. Agent (OpenAI Node – Generate Structured Summary)
  1. HTML Formatter (Function Node – Wrap Markdown in Email-Ready HTML)
  1. Email Send (Email Node – Deliver the Final Pulse)

Why It Works


## 🔗 Nodes Used

Gmail, Schedule Trigger, AI Agent, OpenAI Chat Model

## 📥 Import

Download [`workflow.json`](workflow.json) and import into n8n:
**Workflow menu → Import from File**

[📖 Importing guide](../../../docs/importing-templates.md) · [🔑 Credential setup](../../../docs/credential-setup.md)