An intelligent email management system powered by Spring Boot and AI that helps you handle your inbox more efficiently through automated categorization, smart responses, and email analysis.
- AI-Powered Email Responses: Automatically generate context-aware email replies
- Smart Categorization: Automatically classify emails into categories (Important, Spam, Social, etc.)
- Email Summarization: Get concise summaries of long email threads
- Sentiment Analysis: Detect the emotional tone of incoming emails
- Follow-up Reminders: Automatic reminders for important unanswered emails
- Template Suggestions: AI-generated email templates for common responses
- Backend: Spring Boot 3.2
- AI Integration: Spring AI
- Email Processing: JavaMail API
- Database:
- Build Tool: Maven
-
Clone the repository:
git clone https://github.com/18-RAJAT/SpringAI-InboxAssistant.git cd SpringAI-InboxAssistant -
Build the project:
mvn clean install
-
Configure environment variables:
- Create
application.ymlinsrc/main/resources/:
spring: spring.application.name=email-writer gemini.api.url=${GEMINI_URL} gemini.api.key=${GEMINI_KEY} server.port=9191
- Create
-
Start the application:
mvn spring-boot:run
curl -X POST "http://localhost:9191/api/email/generate" \
-H "Content-Type: application/json" \
-d '{
"emailContent": "Hi, I'm following up on our meeting last week. When can we expect the project deliverables?",
"tone": "professional"
}'Contributions are welcome! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
- Spring AI team for the amazing AI integration capabilities
- Gemini for their powerful language models
- The Spring Boot community for continuous support and improvements


