# prodduturimeenakshi/n8n_ai_email_summarizer architecture

> Architecture diagram of the GitHub repository prodduturimeenakshi/n8n_ai_email_summarizer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/prodduturimeenakshi/n8n_ai_email_summarizer
- Repository: https://github.com/prodduturimeenakshi/n8n_ai_email_summarizer

## Overview

This repository is an n8n workflow definition for summarizing incoming email. Gmail triggers the workflow; an AI Agent uses Google Gemini to summarize each message and identify required action, then appends the date, sender, subject, summary, and action to Google Sheets. The README documents these stages, but no workflow JSON excerpts were available, so the graph shows only documented relationships.

Main entry points: [`n8n_email_summarizer_workflow_sanitized.json`](https://github.com/prodduturimeenakshi/n8n_ai_email_summarizer/blob/main/n8n_email_summarizer_workflow_sanitized.json) (AI Agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_gmail(("Gmail"))
node_trigger["Gmail Trigger"]
node_agent["AI Agent"]
node_gemini["Google Gemini"]
node_sheets[("Google Sheets")]

node_gmail -->|"triggers on mail"| node_trigger
node_trigger -->|"sends email"| node_agent
node_agent -->|"generates summary"| node_gemini
node_agent -->|"appends results"| node_sheets

click node_trigger "https://github.com/prodduturimeenakshi/n8n_ai_email_summarizer/blob/main/n8n_email_summarizer_workflow_sanitized.json"
click node_agent "https://github.com/prodduturimeenakshi/n8n_ai_email_summarizer/blob/main/n8n_email_summarizer_workflow_sanitized.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gmail,node_gemini toneIndigo
class node_trigger,node_agent toneTeal
class node_sheets toneAmber
```

## Components

### Other components

- **Gmail**
- [Gmail Trigger](https://github.com/prodduturimeenakshi/n8n_ai_email_summarizer/blob/main/n8n_email_summarizer_workflow_sanitized.json): `n8n_email_summarizer_workflow_sanitized.json`
- [AI Agent](https://github.com/prodduturimeenakshi/n8n_ai_email_summarizer/blob/main/n8n_email_summarizer_workflow_sanitized.json): `n8n_email_summarizer_workflow_sanitized.json`
- **Google Gemini**
- **Google Sheets**

## Connections

- Gmail → Gmail Trigger: triggers on mail (evidence: `README.md`)
- Gmail Trigger → AI Agent: sends email (evidence: `README.md`)
- AI Agent → Google Gemini: generates summary (evidence: `README.md`)
- AI Agent → Google Sheets: appends results (evidence: `README.md`)
