Skip to content

AI Email Assistant is a smart browser extension that generates context-aware email replies with customizable tones. Built with Spring Boot and React + Vite, it integrates seamlessly with Gmail and offers AI-powered suggestions with one-click copy in a clean, responsive UI πŸš€!! πŸ”— Project Link: https://kvr-10.github.io/AiEmail-Assistant/

Notifications You must be signed in to change notification settings

Kvr-10/AiEmail-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Email Assistant

A full-stack AI-powered email reply generator with Google Mail extension integration, built with a Spring Boot backend and React + Vite frontend.


πŸš€ Demo

πŸŽ₯ Click to watch the demo:

Watch the demo


✨ Features

  • πŸ€– AI Email Generation: Generate context-aware email replies using AI
  • 🎭 Tone Customization: Select from professional, casual, or friendly tones
  • πŸ“§ Google Mail Integration: Browser extension adds an "AI Reply" button directly in Gmail
  • πŸ–₯️ Responsive Web Interface: Clean, modern UI built with Material-UI
  • πŸ“‹ Clipboard Integration: One-click copy of generated replies

πŸ› οΈ Technologies Used

Backend

  • Spring Boot (Java)
  • REST API
  • Render (Hosting)

Frontend

  • React (Vite)
  • Material-UI (MUI)
  • Axios
  • Netlify (Hosting)

Extension

  • Firefox Extension API
  • Google Mail API integration

DevOps & Deployment

  • CI/CD: GitHub Actions
  • Containerization: Docker
  • Hosting:

🌐 Live Demo

πŸ§ͺ How to Run the Extension Locally in Chrome or Brave

  1. Download or clone the repository:

    git clone https://github.com/Kvr-10/AiEmail-Assistant
  2. Open Chrome or Brave, then type chrome://extensions/ in the address bar and press Enter.

  3. Enable Developer mode using the toggle in the top-right corner.

  4. Click β€œLoad unpacked”.

  5. Select the AiEmail-writer-ext folder (which contains manifest.json).

    βœ… Your extension should now be loaded and active on Gmail.

  6. Open Gmail in your browser and attempt to reply using the AI assistant.

Note: The backend service on Render may take ~50 seconds to respond on first request due to cold start.


πŸ“Έ Screenshots

Web Interface
🌐 Web Interface

Gmail Extension
πŸ’¬ Sample Reply Example

Gmail Extension
Gmail Reply
πŸ“¬ Gmail Extension


βš™οΈ Installation

Prerequisites

  • Java JDK 17+
  • Node.js 16+
  • Maven
  • npm

πŸ”§ Backend Setup

git clone https://github.com/Kvr-10/AiEmail-Assistant
cd AIEmail-Assistant/backend

πŸ” Configure environment variables:

# Create application.properties file
echo "OPENAI_API_KEY=your-api-key" >> src/main/resources/application.properties

πŸ› οΈ Build and run

mvn clean install
mvn spring-boot:run

🌐 Frontend Setup

cd ../frontend
npm install
npm run dev

🧩 Extension Setup

cd ../extension

Then load the unpacked extension in Chrome via chrome://extensions.


πŸ“‘ API Endpoints

Method Endpoint Description
GET / Health check
POST /api/email/generate Generate AI email reply

πŸ“₯ Request Body:

{
  "emailContent": "original email text",
  "tone": "professional/casual/friendly"
}

πŸš€ Deployment

Component Service
Frontend Netlify
Backend Render
Extension Chrome Web Store (coming soon!)

πŸ“¬ Contact

About

AI Email Assistant is a smart browser extension that generates context-aware email replies with customizable tones. Built with Spring Boot and React + Vite, it integrates seamlessly with Gmail and offers AI-powered suggestions with one-click copy in a clean, responsive UI πŸš€!! πŸ”— Project Link: https://kvr-10.github.io/AiEmail-Assistant/

Topics

Resources

Stars

Watchers

Forks