Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email-Writer

Email-Writer is a Flask-based web application that leverages the Together AI API to help you generate and reply to emails effortlessly. Whether you want to draft a new email or respond to an existing one, this tool uses advanced AI models to assist you in writing effective email content quickly.


Features

  • Generate email replies based on the content you provide.
  • Create new emails from simple prompts.
  • Easy-to-use web interface powered by Flask.
  • Dynamic configuration of API key, AI model, and server port.
  • Real-time AI response generation using Together API.
  • Desktop notifications for success and error alerts (via plyer).

Getting Started

Prerequisites

  • Python 3.8+
  • Virtual environment tool (recommended)
  • Together API key (sign up at Together)

Installation

  1. Clone the repository:
git clone https://github.com/Abhi2009CU/Email-Writer.git
cd Email-Writer
  1. Create and activate a virtual environment:
python -m venv .venv

# Windows
.\.venv\Scripts\activate

# macOS/Linux
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

or

pip install together plyer flask python-dotenv

Running the App

python main.py

This will start the Flask server and automatically open your default browser at http://127.0.0.1:<PORT>.


Usage

  • Visit the /settings page to configure your API key, model name, and port. The app saves these settings automatically to a .env file in the project root and loads them on startup.
  • Use the main interface to input email content and select whether to generate a reply or create a new email.
  • Submit the form to receive AI-generated email content.

Technologies Used


License

This project is licensed under the MIT License.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages