Custom Email Sender Web App
Flask App to send custom email messages using SendGrid.
Getting Started
Prerequisites
- Python
- SendGrid
Install Requirements
pip install -r requirements.txt
Set SendGrid API key as environment variable
export API_KEY=<sendgrid_api_key>
Start Flask server
flask run
nohup flask run --host=0.0.0.0 > flask.log 2>&1 & # Or run in background
Features
- Generate random fake sender - Using Faker
- Add custom email headers
- Add Cc/Bcc recipients
- Preview mail body in HTML
- Send one or multiple mail attachments
- Configurable mail server - utils/send_mail.py
- Bulk email sending - Read data from Google Sheets