AI Email Manager is a Streamlit-based web application that helps users quickly create professional emails using AI.
The application is powered by Qwen 2.5 Coder running on NVIDIA NIM APIs and provides three main features:
- ✉️ Generate new professional emails
- ↩️ Create smart replies to received emails
- 📝 Fix grammar and improve writing tone
This tool is designed to save time, improve communication quality, and assist users in drafting professional emails efficiently.
Generate a complete professional email from simple bullet points or instructions.
Example input:
Meeting request with manager regarding project timeline
Output: A structured professional email ready to send.
Paste an email you received and describe your intent. The AI will generate a professional reply.
Example:
Original email: Meeting tomorrow at 10 AM
Intent: Confirm attendance
Paste any rough email draft and the AI will:
- Correct grammar
- Fix spelling mistakes
- Improve professionalism
- Improve readability
- Python
- Streamlit
- NVIDIA NIM API
- Qwen 2.5 Coder Model
- Python Dotenv
- OpenAI Python SDK
Clone the repository:
git clone https://github.com/yourusername/ai-email-manager.git
cd ai-email-managerCreate a virtual environment:
python -m venv venvActivate the environment:
Windows:
venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtCreate a .env file in the project root.
NVIDIA_API_KEY=your_nvidia_api_key_here
The application uses this API key to access NVIDIA NIM AI models.
Start the Streamlit server:
streamlit run app.pyThe application will open in your browser:
http://localhost:8501
ai-email-manager
│
├── app.py
├── README.md
├── requirements.txt
├── .env
├── .gitignore
Do not upload your .env file to GitHub.
Always keep API keys private.
Add this to .gitignore:
.env
venv/
__pycache__/
The interface contains three tabs:
- New Email
- Smart Reply
- Grammar Fix
Each feature streams AI responses in real time using the NVIDIA API.
- Email sending integration (SMTP / Gmail API)
- Tone selection (formal / casual / friendly)
- Email templates
- Conversation history
- Multi-language support
Sandeep Sai Kumar
Computer Science Engineering Student Adhiyamaan College of Engineering
GitHub: https://github.com/Jrsandy26
LinkedIn: https://www.linkedin.com/in/sandeepsai26
If you like this project, please consider giving it a star ⭐ on GitHub.