An AI-driven email assistant built using Spring Boot & Spring AI, integrated with a Chrome Extension for seamless email automation and smart suggestions.
✅ 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.
- Spring Boot 3 – REST API Development
- Spring AI – AI-powered email response generation
- OpenAI/GPT Integration – For intelligent email drafting
- HTML, CSS, JavaScript – Chrome extension UI
- Manifest v3 – Secure and modern extension development
- JavaScript Content Script & Background Script – Handles AI suggestions in Gmail
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.
git clone https://github.com/your-username/Gen-AI-Email-Assistantt.git
cd Gen-AI-Email-Assistant- 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>./mvnw spring-boot:run- Backend runs on
http://localhost:8080
cd chrome-extension- Open Chrome and go to
chrome://extensions/ - Enable Developer Mode (toggle in the top-right).
- Click "Load unpacked" and select the
chrome-extensionfolder.
- Open Gmail.
- Click on the Smart Email Assistant icon inside the compose window.
- The AI generates suggested responses instantly! 🚀
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/email/generate-reply |
AI-generated email reply |
(Add UI screenshots of the Chrome extension and AI-generated emails for better visualization.)
We welcome contributions! Fork the repo, improve features, and submit a PR.
- Add voice-to-text email dictation 🎙️
- Integrate with Google Calendar for smart scheduling 📅
- Improve email tone customization (casual, formal, etc.) 🎭