How kvr-10/aiemail-assistant works
Project type and purpose
• This is a full-stack AI-powered email reply generator with three main deliverables:
a) A Spring Boot backend (“AIEmail-writer”) exposing REST endpoints.
b) A React+Vite frontend (“AiEmail-Frontend”) for a web UI.
c) A browser extension (“AiEmail-writer-ext”) that injects an “AI Reply” button into Gmail.
• It integrates with OpenAI’s API for content generation and with Gmail via extension APIs.
File structure
• Top-level directories:
• AIEmail-writer: Maven/Spring Boot service
• AiEmail-Frontend: React/Vite web client
• docs: Static site assets and demo videos
• Key files:
• AIEmail-writer/src/main/java/.../app: controllers (EmailGeneratorController, HomeController), service (EmailGeneratorService), config (CorsConfig)
• application.properties: holds OPENAI_API_KEY
• Dockerfile & mvnw: containerization and build scripts
• package.json, vite.config.js: frontend build setup
• manifest.json, content.js/css: extension injection logic
README
• Describes features (tone customization, clipboard copy) and endpoints (/api/email/generate)
• Lists technology stack: Spring Boot, React, Material-UI, Axios, Firefox Extension API, Gmail API, Render, Netlify, Docker, GitHub Actions
• Deployment targets and CI/CD
Detail without overcomplication
• Logical unit: frontend app, backend controllers/services, extension scripts, external APIs, and deployment pipeline
• Cross-component interactions explicitly