Tired of being on the receiving end of spam mails? Use MailBro to spam them back.
MailBro is a barebones FastAPI application that sends pre-configured or user-specified emails to a list of addresses.
- Spam back emails that are spamming you
- Test if your mail server is working
- Send emails using API requests
- A mail server to send emails (e.g., Google:
smtp.gmail.com) - Environment variables:
MAIL_USERNAME,MAIL_PASSWORDfor the mail server
- Provide a list of whitelisted keys in
apikeys.txt - Build the container:
docker build -t mailbro . - Deploy on the cloud with environment variables:
MAIL_USERNAME,MAIL_PASSWORD, andMAIL_SERVER
| Method | Endpoint | Description |
|---|---|---|
| GET | /docs |
Usage guide |
| POST | /send |
Send emails - specify recipient, header, and body |
| POST | /configure |
Create template email - specify recipient, header, and body |
| POST | /send_preconfigured |
Send template email |
This project is licensed under the GNU GPLv3 License.
