Skip to content

Reply Gennie is an intelligent tool to streamlining your email workflow by leveraging the power of the Gmail API and OpenAI, it automates responses, assigns labels, and generates thoughtful replies, saving you time and effort and enhancing productivity

Notifications You must be signed in to change notification settings

vivektripaathi/replyGennie.ai

Repository files navigation

Reply Gennie

ReplyGennie is your smart assistant for managing emails effortlessly.By combining the capabilities of Google/Microsoft APIs and LLMs, it automates email replies, organizes your inbox with labels, and ensures you handle your email workflow efficiently. It actively monitors your inbox for new and unread emails, utilizing OpenAI's advanced language processing capabilities to read incoming messages. Upon detection of an email, Reply-Gennie assigns an appropriate label based on the content and context of the message, ensuring efficient organization. Additionally, it generates and sends thoughtful replies automatically, streamlining your email responses and improving productivity.

Whether you're managing personal or professional correspondence, Reply-Gennie provides a seamless solution for effective email handling, allowing you to focus on what matters most.

Features

  • Automated Email Monitoring: Continuously checks for unread emails and processes them in real-time.
  • Sequential Reply Handling: Ensures each email is addressed one by one, maintaining context and relevance.
  • Integration with OpenAI: Utilizes AI to generate contextual replies, improving response quality and engagement.
  • Label Assignment: Automatically assigns specified labels to processed emails, helping to organize your inbox effectively.
  • BullMQ & Redis for Task Management: Employs BullMQ and Redis for effective job scheduling and management, ensuring reliable email processing without redundancy.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js
  • Redis server
  • A Google Cloud account with access to the Gmail API
  • OpenAI API key (if using OpenAI integration)

Installation

  1. Clone the Repository:

    git clone https://github.com/yourusername/reply-gennie.git
  2. Navigate to the Project Directory:

    cd reply-gennie
  3. Install Dependencies:

    npm install

Configuration

  1. Environment Variables: Rename the provided .env.example file to .env in the project root:

    mv .env.example .env
  2. Edit the .env File: Open the .env file and fill the variables with your values:

Running the Project

  1. Start the Redis Server(if not running):

    redis-server
  2. Compile and run the project:

    # development
    $ npm run start
    
    # watch mode
    $ npm run start:dev
    
    # production mode
    $ npm run start:prod

About

Reply Gennie is an intelligent tool to streamlining your email workflow by leveraging the power of the Gmail API and OpenAI, it automates responses, assigns labels, and generates thoughtful replies, saving you time and effort and enhancing productivity

Topics

Resources

Stars

Watchers

Forks