🔬 Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs

⚡ 271 views · 🔬 Document Extraction & Analysis

Description

AI Daily Email Summary - Auto-Delivered to Slack, WhatsApp & Docs (Gmail + Gemini)

Summary

Stop starting your day by drowning in unread emails. This workflow runs every morning and turns your Gmail inbox into a clean, prioritized briefing — automatically organized into what needs your attention, what meetings are coming up, and what you can read later. The summary lands wherever you already live: Google Docs, Gmail, Slack, or WhatsApp.

Powered by Google Gemini 2.5 Flash, with a built-in privacy layer that scrubs passwords, OTPs, and API keys before they ever leave your n8n instance.

Key features

How it works

  1. Trigger: Runs on a daily schedule (fully configurable).
  2. Fetch & clean: Pulls primary emails from the last 24 hours and scrubs sensitive patterns before processing.
  3. Summarize: Gemini 2.5 Flash generates a formatted text summary, categorized by priority.
  4. Deliver: Your summary is routed to whichever channels you’ve toggled on in the config node.
  5. Monitor: A global error handler catches failures and emails you a crash report.

Nodes used

Setup instructions

  1. Credentials: Connect Gmail, Google Docs, Slack, WhatsApp, and your Google Gemini API key. (Note: You only need one Gmail OAuth2 credential. n8n will use this single connection for both fetching your inbox and sending the final summary email).
  2. Config node & Fallback: Open ⚙️ Set Configuration and fill in your target email, Slack user ID, and WhatsApp number. (Optional: Open the “Gmail: Send Error Alert” node at the bottom and replace PASTE_FALLBACK_EMAIL_HERE with a backup admin email, ensuring you get crash reports even if the config node fails).
  3. Toggle channels: Set each receiveOverviewIn... field to true for the platforms you want to activate.
  4. Test: Click Test Workflow — a sample email with a dummy password is pinned to the trigger so you can see the PII scrubber and summary in action immediately.
  5. Activate: Switch the workflow to Active and your first briefing runs on schedule.

Requirements

Customization ideas

Use cases

🔗 Nodes Used

Slack, Gmail, Google Docs, WhatsApp Business Cloud, Schedule Trigger, Google Gemini

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup