Skip to content

Steven-LG09/MailMind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AI Email Classification & Auto-Response System

Overview

This project is an AI-powered email automation workflow built with n8n and Groq AI. It automatically classifies incoming emails into business categories and generates intelligent responses.

The system is designed to help companies manage large volumes of emails efficiently, reducing manual work and ensuring faster responses to customers.

Problem

Companies often receive many types of emails such as:

  • Technical support requests
  • Sales inquiries
  • Billing questions
  • Customer complaints

Manually reading and sorting these emails can take a significant amount of time.

Solution

This workflow automates the process by using AI to:

  1. Detect new incoming emails
  2. Extract the message content
  3. Classify the email category using AI
  4. Store the information in a database (Google Sheets)
  5. Generate an automatic response using AI
  6. Send the reply to the customer

Workflow Architecture

New Email (Gmail)
       ↓
Extract Email Data
       ↓
AI Email Classification (Groq)
       ↓
Save Data to Google Sheets
       ↓
Switch by Category
       ↓
AI Generates Response
       ↓
Automatic Reply Sent via Gmail

Email Categories

The AI classifies emails into the following categories:

  • Support – technical issues or help requests
  • Sales – customers interested in products or services
  • Billing – invoices, payments, or financial questions
  • Complaints – dissatisfaction or service issues

Technologies Used

  • n8n – workflow automation platform
  • Groq API – AI model for classification and response generation
  • Gmail API – email trigger and automatic responses
  • Google Sheets – data storage for classified emails

Features

  • Automatic email classification
  • AI-generated professional responses
  • Email logging in Google Sheets
  • Department-based routing
  • Fully automated workflow

Example Use Case

Example email received:

Hello,

I am having trouble accessing my account and I keep receiving an error message when trying to log in.

Could you please help me resolve this issue?

AI classification result:

support

The system then:

  • Logs the email in Google Sheets
  • Generates a support response
  • Sends the reply automatically to the customer

Interface Images

Alt text

Alt text

Alt text

Alt text

About

AI-powered email classification and auto-response system built with n8n and Groq that automatically categorizes incoming emails and generates intelligent replies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors