SevMail is a secure, developer-centric CLI tool for sending emails using Markdown, your own editor, and Gmail App Passwords — with a strong focus on transparency, auditability, and security awareness.
It is designed for people who prefer control, clarity, and minimalism over heavy GUIs.
Most email tools today are:
- GUI-heavy
- opaque in behavior
- hard to audit
- unsafe for automation or scripting
SevMail takes a different approach:
- ✍️ Write emails in Markdown
- 🧠 Use your own editor
- 🔐 Authenticate using Gmail App Passwords
- 🧾 Keep local HTML logs of sent emails
- 🚨 Receive security alerts when accounts are added or removed
No background tracking.
No silent behavior.
Everything happens only when you explicitly run a command.
-
Markdown-based emails
- Plain text + HTML multipart emails
- Fenced code blocks, lists, formatting supported
-
Editor-first workflow
- Write emails in
.mdfiles - No embedded editors or GUIs
- Write emails in
-
Secure account management
- Gmail App Password authentication
- Passwords stored securely using system keyring
- No environment variables required
-
Security notifications
- Email alerts when:
- an account is added
- an account is removed
- Includes device information:
- username
- hostname
- local IP
- public IP (best-effort)
- OS, architecture, Python version
- Email alerts when:
-
Audit logs
- Optional HTML logs of sent emails
- Timestamped and organized by date
- Useful for record-keeping and verification
-
Multiple account support
- Add, list, remove sender accounts
- Explicit
--fromselection
git clone https://github.com/goursahil/sevmail.git
cd sevmail
pip install -r requirements.txtRequired Python version: 3.10+
SevMail uses Gmail App Passwords.
- Enable 2-Step Verification on your Google account
- Create an App Password:
https://myaccount.google.com/apppasswords
Never share your App Password with anyone.
sevmail --add-account your_email@gmail.comsevmail --accounts listsevmail --accounts remove your_email@gmail.comsevmail --gen empty .sevmail --send-template email.md --from your_email@gmail.comWith CC:
sevmail --send-template email.md --from your_email@gmail.com --cc cc.txtsevmail --send-template email.md --from your_email@gmail.com --saveLogs are saved under:
log/YYYY/MM/DD/HH_MM_SS.html
SevMail is intentionally designed to:
- Avoid background monitoring
- Avoid hidden network calls
- Avoid silent account usage
- Notify account owners of sensitive actions
- Keep all data local and user-controlled
SevMail License – Source Available
Copyright (c) 2026 Sevrus
This project is source-available, not open source. See the LICENSE file for details.
- Predefined email templates
- User-defined email templates
- Template variables
- Preview mode
- Optional default sender
- Improved logging UI
SevMail is built to be calm, predictable, and respectful of users.