AI-Powered Email Reply Generator

Save time and write better emails with AI-generated, context-aware replies tailored to your preferred tone.

Key Features

AI Email Generation

Generate context-aware email replies using advanced AI that understands the content of incoming emails.

Tone Customization

Select from professional, casual, or friendly tones to match your communication style.

Gmail Integration

Browser extension adds an "AI Reply" button directly in Gmail for seamless workflow.

Responsive Interface

Clean, modern UI built with Material-UI that works perfectly on all devices.

Clipboard Integration

One-click copy of generated replies for quick insertion into your emails.

Fast Deployment

Easy deployment with Docker and CI/CD pipelines via GitHub Actions.

Live Demo

🧪 Local Installation

Run the Extension Locally on Chrome or Brave

  1. Clone the repository: git clone https://github.com/Kvr-10/AiEmail-Assistant
  2. Open Chrome or Brave and navigate to chrome://extensions/.
  3. Enable Developer mode using the toggle in the top-right corner.
  4. Click the "Load unpacked" button.
  5. Select the AiEmail-writer-ext folder (make sure it contains the manifest.json file).
  6. The extension should now be successfully installed and active in Gmail.
    ✅ You're ready to use the AI Email Assistant.
  7. Open Gmail and try replying to an email to see the AI Assistant in action.

Mobile Installation Guide

  1. On mobile, you'll need to use a desktop browser to install extensions
  2. Alternatively, use Kiwi Browser which supports Chrome extensions
  3. Open Kiwi Browser and go to chrome://extensions
  4. Enable Developer mode
  5. Download the extension files to your device
  6. Select "Load unpacked" and choose the folder
  7. The extension will now work in Kiwi Browser's Gmail

Note: Most mobile browsers don't support extensions. We recommend using a desktop computer for full functionality.

Screenshots

Technology Stack

Backend

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

Frontend

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

Extension

  • Chrome Extension API
  • Google Mail API

DevOps

  • GitHub Actions (CI/CD)
  • Docker

Installation & Setup

Prerequisites

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

Backend Setup

git clone https://github.com/Kvr-10/AiEmail-Assistant.git
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 Documentation

Endpoints

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

Request Example

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

Contact