ReplAI is a full-stack AI email assistant designed to generate context-aware email replies based on the content and desired tone (e.g., professional, casual). It includes:
- 🌐 A web application built with Spring Boot (backend) and React with Vite (frontend), styled using Material UI.
- 🧩 A Gmail browser extension that integrates directly into the Gmail interface, adding an "AI Reply" button to the compose toolbox.
- 🤖 Integration with Gemini as the AI agent for generating intelligent responses.
- ✉️ Generate AI-powered replies to emails.
- 🎯 Choose the tone of the reply: Professional, Casual, etc.
- 🧩 Gmail extension for seamless Gmail integration.
- ⚡ Fast and responsive UI with Vite and Material UI.
- Frontend: React, Vite, Material UI
- Backend: Spring Boot (Java)
- AI Agent: Gemini
- Extension: Chrome Extension (Manifest V3)
- Deployment: GitHub Pages / Any Server
The ReplAI web application allows users to:
- Input the original email content.
- Select the desired tone for the reply.
- Generate and copy the AI-generated reply.
Enhance your Gmail experience with the ReplAI browser extension:
- 🔘 Adds an "AI Reply" button to the Gmail compose box.
- 📥 Automatically fetches the email content.
- 🤖 Generates contextual replies instantly based on tone selected by the user.
ReplAI/
├── email-writer-sb/ // Spring Boot API for AI reply generation
├── email-writer-react/ // React + Vite app
├── email-writer-extension/ // Chrome extension for Gmail integration
├── README.md- Java Development Kit (JDK) 21+
- Maven
- Environment Variables:
GEMINI_API_URL:https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=GEMINI_API_KEY: Your actual API key
- Node.js (version 18 or above)
git clone https://github.com/rustyBot31/ReplAI.git
cd ReplAI- Open the folder
email-writer-sbin your code editor. - Navigate to the class
EmailWriterSbApplicationand click Run from the file.
- Open the folder
email-writer-reactin your code editor. - Run the following commands in the terminal:
npm install npm run dev
- Navigate to
chrome://extensionsin your browser. - Enable Developer Mode.
- Click Load Unpacked.
- Select the
email-writer-extensionfolder inside the ReplAI directory. - Pin the extension to your browser.
Contributions are welcome! Please open issues or submit pull requests for improvements, bug fixes, or feature suggestions.
This project is licensed under the MIT License.