To view the n8n flow demo and copy the JSON you need to purchase our Bundle... don't worry, it's FREE

Go to the BUNDLE

Automate Email Classification & Summary with Gmail, GPT-4o-mini & Notion

Description:
Automate your personal email management with this AI-powered inbox triage system built entirely in n8n. This template connects Gmail, Azure OpenAI (GPT-4o-mini), and Notion to classify, summarize, and store your incoming emailsโ€”helping you focus only on what matters.
The workflow fetches unread emails from Gmail, runs them through a custom AI classification model (Important, Ignore, Delegate, Reply Later), creates clear summaries, and stores the results in Notion for future reference. No more clutterโ€”your inbox is automatically sorted, prioritized, and documented.

โœ… What This Template Does (Step-by-Step):

๐Ÿ“ง Fetch Unread Emails from Gmail

  • Retrieves only unread, inbox-labeled emails via Gmail API.
  • Captures sender, subject, and email content for processing.

๐Ÿ”„ Split Emails for Individual Processing

  • Breaks down bulk email retrieval into single-item batches for parallel AI classification.

โœ๏ธ Clean & Structure Email Data

  • Extracts subject, sender, and message text.
  • Removes unnecessary metadata for cleaner AI inputs.

๐Ÿค– AI Classification with Azure OpenAI (GPT-4o-mini)

  • Categorizes emails into Important, Ignore, Delegate, or Reply Later.
  • Uses a precise, prompt-engineered LLM chain for consistent results.

๐Ÿ“Š Generate Clear, Actionable Summaries

  • Combines classification and key email details into concise summaries.

๐Ÿ“ˆ Aggregate Results into a Digest

  • Merges all processed email summaries into a batch report.

๐Ÿ—‚ Store Insights in Notion

  • Saves structured summaries and classifications into a Notion page for easy tracking and retrieval.

๐ŸŽฏ Perfect For:

  • Busy professionals who want a clutter-free inbox.
  • Founders & executives managing high email volume.
  • Remote teams needing quick email triage and visibility.
  • Productivity enthusiasts looking to integrate AI into their workflow.

โš™๏ธ Built With:

  • Gmail API (email retrieval)
  • n8n Split In Batches (parallel processing)
  • Azure OpenAI GPT-4o-mini (classification & summary)
  • Notion API (data storage & archiving)

๐ŸŒŸ Key Benefits:
โœ… Saves hours of manual email triage.
๐Ÿ” Ensures no important emails are missed.
๐Ÿง  AI-driven, consistent prioritization.
๐Ÿ“’ Centralized email intelligence in Notion.
๐Ÿ›  Fully no-code and customizable.

Do you want to automate your business?

Let's talk about your project