Skip to content

prxshetty/AutoMail-AI

Repository files navigation

Auto-Mail AI

Auto-Mail AI is a Python-based automated email response system. It listens to an inbox for incoming emails and automatically generates a response based on the content of the email. This project is ideal for companies that need to address customer queries quickly and efficiently.

Table of Contents

Features

  • Automatically checks for new emails in the inbox.
  • Responds to emails based on predefined conditions.
  • Can be configured to respond to specific email addresses.
  • Customizable email response content.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/auto-mail-ai.git
    cd auto-mail-ai
  2. Install the required packages:

    pip install -r requirements.txt
  3. Configure the whitelist of email addresses that should trigger automatic responses. This can be done in the whitelist.yaml file:

Usage

  1. Run the script:

    python main.py
  2. The script will start checking the configured inbox for new emails and will automatically respond based on the content of the email and the configuration.

Configuration

Results

Terminal Output

The terminal displays the log of activities such as checking for new emails and sending responses.

TerminalOutput

Email in Inbox

The system checks for new emails in the inbox. Here's an example:

MailinInbox

Automated Response

Based on the content of the received email, the system generates an appropriate response.

AIResponseMail

Future Work

  • Make this into a webapp for automated responses to recruiters, job offers, etc.
  • Add a automatic listing system, so that there is no need to keep adding into whitelist ( Or just turn it into blacklist)
  • Improve the terminal Output in a more description format
  • Sort the emails Function into Categorys: If a Job got rejected, put it in a Rejected Label Category and so on
  • More Ideas are welcome!

About

Uses LangChain and DocTran for AI Services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages