Skip to content

santhoshkumarCodes/EmailReplyGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Reply Generator

Email Reply Generator is an AI-powered application that helps users generate intelligent and context-aware replies to emails using the Gemini API. It includes both a web interface and a Chrome Extension that integrates with Gmail.

Live website link: https://emailreplygenerator.web.app/


Features

  • Generate AI-based email replies using Gemini
  • Web-based interface for testing and using the generator
  • Chrome Extension for direct integration with Gmail
  • Spring Boot backend to manage API communication
  • Chrome Extension can be downloaded directly from the web interface or built from source

Web Interface

The web interface allows users to input an email and receive a suggested reply generated by the Gemini API.

How to Use

  1. Open the hosted web interface.
  2. Paste your email content into the input field.
  3. Click "Generate Reply."
  4. Copy and use the AI-generated reply as needed.
  5. Alternaively, you can use Chrome Extemsion to generate reply in a single click.

If you are self-hosting, run the backend and frontend services locally.


Chrome Extension

The Chrome Extension integrates directly with Gmail, providing inline AI-generated replies.

How to Install

  1. Go to chrome://extensions/ in the Chrome browser.
  2. Enable "Developer Mode" (toggle at the top right).
  3. Click "Load unpacked".
  4. Select the frontend/chromeExtension directory.

Alternatively, download the extension ZIP file from the web interface and extract it before loading.


Frontend

The project includes two user-facing frontend components:

1. Web Interface

A simple web interface is provided to interact with the Gemini-powered email reply generator.

Users do not need to configure anything — the backend is already connected to a valid Gemini API key.

2. Chrome Extension

This Chrome extension allows users to generate AI-powered replies directly inside their email inbox.

  • Code location: frontend/chromeExtension/
  • The extension can be downloaded as a .zip file from the website or directly from the repo.
  • After that, you will get a new Generate Reply button when you reply to an email
  • Now you can generate a reply in a single click directly from gmail.

Backend

The backend is built with Spring Boot and is responsible for:

  • Accepting email content from the frontend or extension.
  • Calling the Gemini API with the email content with api key set as env variable.
  • Returning the generated reply to the client.

Configuration

The backend is configured to use a Gemini API key via environment variables. The deployed version is already connected to a working key, so users do not need to configure anything to use the web interface or Chrome extension.


Important Notice

This project uses the Gemini API and is currently preconfigured with a demo API key for demonstration purposes only.

For personal use, it is strongly recommended to host your own backend and configure it with your own Gemini API key. This ensures:

  • Better security and privacy
  • Full control over rate limits
  • Compliance with Gemini's usage policies

Note: For simplicity, this version does not prompt users to enter their own API key. You can modify the configuration to support custom key input if needed.


About

An email reply generator leveraging Gemini API. Made a web interface and a chrome extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published