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.
- 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).
- Python 3.8+
- Virtual environment tool (recommended)
- Together API key (sign up at Together)
- Clone the repository:
git clone https://github.com/Abhi2009CU/Email-Writer.git
cd Email-Writer- Create and activate a virtual environment:
python -m venv .venv
# Windows
.\.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate- Install dependencies:
pip install -r requirements.txtor
pip install together plyer flask python-dotenvpython main.pyThis will start the Flask server and automatically open your default browser at http://127.0.0.1:<PORT>.
- Visit the
/settingspage to configure your API key, model name, and port. The app saves these settings automatically to a.envfile 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.
This project is licensed under the MIT License.