Skip to main content

Automated email management with Gemini AI: Gmail summarizing, labeling and Notion/Sheets logging

Workflow preview

Workflow preview
100%
Automated email management with Gemini AI: Gmail summarizing, labeling and Notion/Sheets logging preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Email Manager: Auto Summary, Labeling, and CRM Logging via n8n + Gemini Overview This workflow turns your Gmail inbox into a fully autonomous AI Email Agent that reads, summarizes, categorizes, ...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.gmailtool, n8n-nodes-base.notion, n8n-nodes-base.googlesheets, n8n-nodes-base.gmailtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Apurva Mishra.

Original n8n.io source

1.1 Workflow description

Title
Automated email management with Gemini AI: Gmail summarizing, labeling and Notion/Sheets logging
Workflow name
Automated email management with Gemini AI: Gmail summarizing, labeling and Notion/Sheets logging

AI Email Manager: Auto Summary, Labeling, and CRM Logging via n8n + Gemini

Overview

This workflow turns your Gmail inbox into a fully autonomous AI Email Agent that reads, summarizes, categorizes, and organizes emails in real-time. Built with n8n, Google Gemini, Notion, and Google Sheets, it’s perfect for founders, freelancers, and agencies who receive a ton of emails daily and want to automate the triage process without losing control.

How It Works
  1. Gmail Trigger — Detects new incoming emails.

  2. Process Email Data — Extracts sender info, subject, and content in a clean structured format.

  3. AI Email Analyzer — Uses Gemini AI to summarize the email and decide the most relevant label (e.g., Project Updates, Client Requests, Invoices, etc.).

  4. Create Gmail Label (if not exists) — Dynamically creates a new label if the AI recommends one that doesn’t exist.

  5. AI Agent + Add Label to Email — Applies the correct Gmail label automatically using the message ID.

  6. Logs in Notion & Google Sheets — Every processed email (summary, sender, date, label) is logged for tracking and analytics.

Who It’s For

  • Entrepreneurs & Founders — Manage investor, client, and product update emails automatically.
  • Agencies & Teams — Classify and track client emails effortlessly across projects.
  • Freelancers & Consultants — Get AI summaries and organize leads without manually labeling emails.
  • Tech Builders — Anyone building AI automation tools and SaaS products around inbox management.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Process Email Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - AI Email Analyzer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1

Block 3 - Create Gmail Label

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2

Block 4 - Add Label to Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2

Block 5 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - Get Label

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

Block 7 - Logs in Notion

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 8 - Logs in Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 9 - On new Email

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Label Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 16 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automated email management with Gemini AI: Gmail summarizing, labeling and Notion/Sheets logging
Complexity advanced
Nodes 18
Categories Ticket Management, AI Summarization
Author Apurva Mishra
Published 15 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9679/9679.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated email management with Gemini AI: Gmail summarizing, labeling and Notion/Sheets logging do?

AI Email Manager: Auto Summary, Labeling, and CRM Logging via n8n + Gemini Overview This workflow turns your Gmail inbox into a fully autonomous AI Email Agent that reads, summarizes, categorizes, ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.