Mail-MagiK is a Streamlit-based bulk email sender designed for simplicity, magic, and flexibility. Whether youβre sending event invitations, personalized letters, or follow-ups β just bring your spreadsheet, design your email with {tags}
, and cast the send spell. π§ββοΈ
- π Upload CSV/XLSX of contacts
- π§βπΌ Personalize email with
{{Name}}
,{{CompanyName}}
, etc. - πΌοΈ Add custom headers, footers, images (auto-scaled)
- π§Ύ Preview each email before sending
- π Optional PDF link (or embed Drive links as dynamic
<a href>
HTML) - β±οΈ Auto-sleeps 1 second per email to prevent spam detection
- π Fully HTML-formatted content with image width control
- π¬ Sidebar controls for layout, sender identity, and subject line
- Python 3.9+
- Streamlit
- pandas
- jinja2
- beautifulsoup4
- requests
- html5lib
- openpyxl
- Clone this repo
git clone https://github.com/your-username/mail-magik.git
cd mail-magik
- Create conda environment
conda create -n streamlit python=3.10
conda activate streamlit
pip install -r requirements.txt
- Run the app
streamlit run app.py
- Send your first magical email!
Name | Salutation | CompanyName | PDF Link | |
---|---|---|---|---|
alice@acme.com | Alice | Ms | Acme Corp | https://drive.google.com/file/d/xyz/view?... |
- The app uses SMTP login (email + password).
- If Gmail blocks access, you may need:
- App Password (if 2FA enabled)
- Or use another SMTP (like Outlook/Zoho)
MIT License