Skip to content

sourabhm-25/mail-summaries-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Powered Autonomous Email Agent

Read, understand, and professionally reply to emails β€” all without human intervention.


n8n Workflow Screenshot

πŸš€ What is This?

A zero-code, AI-powered email assistant powered by n8n:

  • πŸ“¨ Reads your new Gmail messages
  • 🧠 Summarizes them with blazing-fast Groq API (LLaMA3-70B)
  • πŸ“Š Logs each summary in Google Sheets
  • ✍️ Auto-generates professional replies (ready to send!)
  • πŸ“€ Sends the reply back via Gmail

πŸ—ΊοΈ Workflow at a Glance

graph TD
    A[Gmail Trigger<br>New Email] --> B[Extract Fields]
    B --> C[Groq API<br>Summarize Email]
    C --> D[Google Sheets<br>Log Summary]
    C --> E[Groq API<br>Generate Reply]
    E --> F[Gmail<br>Send Reply]
Loading

πŸ› οΈ Tech Stack

Tool Purpose
n8n Workflow automation
Groq API Lightning-fast LLaMA3 summarization & reply
Gmail API Inbox read/send automation
Google Sheets API Structured summary logging

πŸ“ Project Structure

File Description
workflow.json Full n8n workflow export
workflow.jpg Workflow canvas screenshot
README.md This file!

⚑ Quickstart Guide

  1. Clone This Repo

    git clone https://github.com/sourabhm-25/mail-summaries-agent.git
    cd mail-summaries-agent
  2. Import the Workflow into n8n

    • Open n8n (cloud/self-hosted)
    • Go to Workflows β†’ Import from File
    • Select workflow.json
  3. Configure Your Credentials

    • Gmail: Connect your Gmail (OAuth2)

    • Google Sheets: Link your Sheets account

    • Groq API: Paste your API key as a credential

      Bearer GROP-CLOUD_API_KEY
      
  4. Set Your Google Sheet

    • In the workflow, replace SHEET_ID_HERE with your own Sheet ID
  5. 🚦 Activate the Workflow

    • Toggle the workflow ON
    • Enjoy hands-free, AI-powered inbox management!

πŸ“Š Google Sheets Output Example

Date From Subject Summary
2025-09-10 test@example.com Meeting Update "Meeting rescheduled to 3 PM"

πŸ€– Sample Auto-Reply

Thank you for your email.
I acknowledge the updated meeting schedule and will be available at the mentioned time.

Best regards,
Sourabh


🌟 Why Use This?

  • Save time β€” instant summaries and replies, no context switching
  • Stay organized β€” searchable log in Google Sheets
  • Feel empowered β€” professional, AI-crafted communications

✨ Ready to supercharge your inbox? Fork, clone, and automate away! ✨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published