https://github.com/modfin/mmailer
Service that unifies third party email providers, Mandrill, Sendgrid, Mailjet and generic SMTP into a an api
https://github.com/modfin/mmailer
mail mailchimp mailjet mandrill sendgrid smtp
Last synced: 5 months ago
JSON representation
Service that unifies third party email providers, Mandrill, Sendgrid, Mailjet and generic SMTP into a an api
- Host: GitHub
- URL: https://github.com/modfin/mmailer
- Owner: modfin
- Created: 2021-12-02T13:31:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-12-02T16:57:34.000Z (7 months ago)
- Last Synced: 2025-12-05T15:29:10.044Z (7 months ago)
- Topics: mail, mailchimp, mailjet, mandrill, sendgrid, smtp
- Language: Go
- Homepage:
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES_DEP
Awesome Lists containing this project
README
# mMailer
**Unify email services into 1 api for transactional email, have redundancies, traffic and avoid vendor locking**
```bash
SELECT_STRATEGY=RoundRobin \
SERVICES="generic:smtp://user:pass@smtp.server.com:25 mailjet:pubkeyXXXX:secretkeyYYYY" \
mmailerd
# Services:
# - Generic: posthooks are not implmented, adding smtp://user:pass@smtp.server.com:25
# - Mailjet: add the following posthook url example.com/path/to/mmailer/posthook?service=mailjet
# Select Strategy: RoundRobin
# Retry Strategy: None
# > Send mail by HTTP POST example.com/path/to/mmailer/send?key=
# Starting server, :8080
```
```bash
curl 'http://localhost:8080/send' \
--data-binary \
$'{"from": {"email": "jon.doe@example.com",
"name": "Jon Doe" },
"to": [{"email": "jane.doe@example.com",
"name": "Jane Doe"}],
"subject": "A subject",
"html": "
Hey this is where the html gose
"
}' --compressed
```