A complete web application that uses AI to generate and send professional emails effortlessly.
This application allows users to generate and send professional emails using AI. Users provide a recipient email address, subject, and a prompt describing the content of the email. The system generates a draft using the GROQ API, which users can edit before sending via SMTP.
🔗 https://ai-email-sender-k619.onrender.com
⚠️ Note: The Render free tier may take a few seconds to start after inactivity.
- ✅ Enter recipient email, subject, and a prompt for the email body
- ✨ AI-generated email content based on the prompt
- 📝 Editable email draft before sending
- 📤 Email sending functionality using SMTP
- 📱 Responsive, modern UI
- 🔐 Secure environment variable management
git clone https://github.com/your-username/AI-Email-Sender.git
cd AI-Email-Senderpip install -r requirements.txtCreate a .env file in the root directory and add:
EMAIL_ADDRESS=your_email@example.com
EMAIL_PASSWORD=your_email_password_or_app_password
GROQ_API_KEY=your_groq_api_key🔐 If your email provider requires two-factor authentication, use an app-specific password.
python app.pyVisit the app at:
🌐 http://localhost:5000
The app is deployed using Render.
EMAIL_ADDRESSEMAIL_PASSWORDGROQ_API_KEY
-
Start command:
python app.py
-
Build command:
pip install -r requirements.txt
AI-Email-Sender/
├── app.py # Flask backend logic
├── templates/
│ └── index.html # Frontend HTML
├── static/
│ └── script.js # Frontend JavaScript logic
├── screenshots/
│ ├── 1.png # Full UI screenshot
│ ├── 2.png # AI-generated email with prompt
│ └── 3.png # Received email in inbox
├── requirements.txt # Python dependencies
└── .env (not committed) # Environment variables
This project is licensed under the MIT License.


