Skip to content

sushantjadhav416/Gen-AI-Email-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📩 Smart Email Assistant – AI-Powered Email Management

An AI-driven email assistant built using Spring Boot & Spring AI, integrated with a Chrome Extension for seamless email automation and smart suggestions.

🔥 Key Features

AI-Powered Email Suggestions – Uses Spring AI to generate smart email replies.
Context-Aware Responses – Understands email context for better automation.
Seamless Chrome Extension – Provides AI-powered suggestions directly inside Gmail.
Email tone customization - Profesional, casual, formal, etc,
Efficient Email Categorization – Helps prioritize emails using AI.
Secure & Scalable Backend – Built using Spring Boot, Spring AI, and REST APIs.


🛠️ Tech Stack

Backend (Spring Boot + AI)

  • Spring Boot 3 – REST API Development
  • Spring AI – AI-powered email response generation
  • OpenAI/GPT Integration – For intelligent email drafting

Frontend (Chrome Extension)

  • HTML, CSS, JavaScript – Chrome extension UI
  • Manifest v3 – Secure and modern extension development
  • JavaScript Content Script & Background Script – Handles AI suggestions in Gmail

🎯 How It Works

1️⃣ The Chrome Extension injects an AI-powered assistant inside Gmail.
2️⃣ When composing an email, the assistant suggests responses based on context.
3️⃣ The extension sends the email content to the Spring Boot backend.
4️⃣ The Spring AI-powered backend generates smart responses.
5️⃣ The extension displays AI-generated replies, helping users craft emails faster.


🚀 Installation & Setup

🏗️ Backend – Spring Boot AI Server

1️⃣ Clone the Repository

git clone https://github.com/your-username/Gen-AI-Email-Assistantt.git
cd Gen-AI-Email-Assistant

2️⃣ Configure API Keys

  • Set up OpenAI API key (or any other LLM provider).
  • Configure Spring Boot properties in application.properties:
gemini.api.url=https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=
gemini.api.key=<Enter_Your_API_Key>

3️⃣ Run the Application

./mvnw spring-boot:run
  • Backend runs on http://localhost:8080

🏗️ Chrome Extension – Setup & Installation

1️⃣ Clone & Navigate to the Extension Directory

cd chrome-extension

2️⃣ Load the Extension in Chrome

  1. Open Chrome and go to chrome://extensions/
  2. Enable Developer Mode (toggle in the top-right).
  3. Click "Load unpacked" and select the chrome-extension folder.

3️⃣ Using the Extension

  • Open Gmail.
  • Click on the Smart Email Assistant icon inside the compose window.
  • The AI generates suggested responses instantly! 🚀

📝 API Endpoints (Backend)

Method Endpoint Description
POST /api/email/generate-reply AI-generated email reply

📷 Screenshots

(Add UI screenshots of the Chrome extension and AI-generated emails for better visualization.)


🤝 Contributing

We welcome contributions! Fork the repo, improve features, and submit a PR.


🚀 Want to Enhance This Project?

  • Add voice-to-text email dictation 🎙️
  • Integrate with Google Calendar for smart scheduling 📅
  • Improve email tone customization (casual, formal, etc.) 🎭

About

Smart Email Assistant Project Using Spring Boot & Spring AI

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors