AI-powered Chrome Extension that generates contextual email replies directly inside Gmail using a cloud-deployed Spring Boot backend integrated with Google Gemini API.
🔗 https://ai-email-writer-crn8.onrender.com
AI Email Writer is a full-stack application that:
- Injects an "AI Reply" button inside Gmail
- Generates professional email responses using AI
- Communicates with a secure cloud-deployed Spring Boot backend
- Uses environment-based configuration for API security
- Is fully Dockerized and deployed on Render
The request flow works as follows:
- Gmail UI (Chrome Extension)
- Content Script (DOM Injection + Fetch API)
- Spring Boot REST API (Hosted on Render)
- Google Gemini API
- AI-generated email response returned to Gmail
- JavaScript
- Chrome Manifest V3
- DOM Manipulation
- MutationObserver
- Fetch API
- Spring Boot 3
- Maven
- REST APIs
- Google Gemini API
- CORS Configuration
- Environment Variables
- Render (Cloud Deployment)
- GitHub
- API keys stored securely using environment variables
- No secrets committed to GitHub
- Backend-only AI API communication
- CORS configured for secure cross-origin access
- Dynamic port binding for cloud environments:i API ↓ Generated Email Response
Response
{
"status": "UP",
"service": "AI Email Writer Backend"
}
POST /api/email/generate
{
"emailContent": "Test email",
"tone": "professional"
}
Generated AI reply text