Skip to content

Jrsandy26/Email_AI_Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📧 AI Email Manager

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.


🚀 Features

1️⃣ New Email Generator

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.


2️⃣ Smart Reply Generator

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

3️⃣ Grammar & Tone Fixer

Paste any rough email draft and the AI will:

  • Correct grammar
  • Fix spelling mistakes
  • Improve professionalism
  • Improve readability

🧠 Technologies Used

  • Python
  • Streamlit
  • NVIDIA NIM API
  • Qwen 2.5 Coder Model
  • Python Dotenv
  • OpenAI Python SDK

📦 Installation

Clone the repository:

git clone https://github.com/yourusername/ai-email-manager.git
cd ai-email-manager

Create a virtual environment:

python -m venv venv

Activate the environment:

Windows:

venv\Scripts\activate

Install dependencies:

pip install -r requirements.txt

🔑 Environment Setup

Create 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.


▶️ Run the Application

Start the Streamlit server:

streamlit run app.py

The application will open in your browser:

http://localhost:8501

📂 Project Structure

ai-email-manager
│
├── app.py
├── README.md
├── requirements.txt
├── .env
├── .gitignore

⚠️ Security Note

Do not upload your .env file to GitHub. Always keep API keys private.

Add this to .gitignore:

.env
venv/
__pycache__/

📸 Application Interface

The interface contains three tabs:

  • New Email
  • Smart Reply
  • Grammar Fix

Each feature streams AI responses in real time using the NVIDIA API.


💡 Future Improvements

  • Email sending integration (SMTP / Gmail API)
  • Tone selection (formal / casual / friendly)
  • Email templates
  • Conversation history
  • Multi-language support

👨‍💻 Author

Sandeep Sai Kumar

Computer Science Engineering Student Adhiyamaan College of Engineering

GitHub: https://github.com/Jrsandy26

LinkedIn: https://www.linkedin.com/in/sandeepsai26


⭐ Support

If you like this project, please consider giving it a star ⭐ on GitHub.

About

AI-powered email writing assistant built with Streamlit and NVIDIA Qwen 2.5 model. Generate professional emails, smart replies, and grammar corrections instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors