An AI-powered Smart Email Assistant that helps users manage their Gmail inbox intelligently. It reads email content via a Chrome Extension and uses Gemini (Google's LLM) via Spring AI to summarize, classify, and generate smart replies.
- ✍️ Context-aware reply suggestions using Gemini
- 📬 Chrome Extension to interact with Gmail content
- 🔌 REST API built with Spring Boot & Spring AI
- Spring Boot
- Spring AI
- Gemini API (via Spring AI)
- REST APIs
- Spring Web + Optional Spring Security
- Chrome Extension
- Interacts with Gmail DOM
- Sends email body data to backend via HTTP
Gmail Email ➝ Chrome Extension ➝ Spring Boot API ➝ Gemini via Spring AI ➝ Smart Response/Summary ➝ Back to Gmail UI
---
- ✨ Generate polite, professional, friendly or casual responses automatically [or you can configure as per needed.]
- 🔍 Extract key information from email bodies
---
git clone https://github.com/arjunraj79/AI-Email-Assistant.git
cd AI-Email-Assistant./mvnw spring-boot:runAPI will run at http://localhost:8080.
- Navigate to
chrome-extension/directory (if in your repo) - Open Chrome and go to
chrome://extensions - Enable Developer Mode
- Click Load Unpacked and select the
chrome-extension/folder - email-writer-ext - The extension will now be visible in your toolbar
- The extension reads the email body from Gmail’s DOM
- It sends the text to your Spring Boot backend
- Spring AI uses Gemini to process the input and return a result (summary/reply)
- The result is shown in the Gmail UI (via extension popup or injected UI)
---
- Configure the api key in postman and check the working
- Then you can run the backend and on postman configure the url to route to the backend and post a request.
{
"emailBody": "Hi John, just following up on our previous discussion..."
}Response:
{
"summary": "Follow-up on previous discussion with John regarding..."
}---







