Releases: shyim/go-mailer
Releases · shyim/go-mailer
v0.1.0
First public release of gomailer — an idiomatic, stdlib-first email library for Go.
Highlights
- Transports: SMTP / ESMTP (STARTTLS, AUTH, SMTPUTF8),
sendmail, and null. - Routing: round-robin, failover, and named-transport routing as composable decorators.
- Middleware:
BeforeSend(mutate / reject) andAfterSend(observe) hooks around any transport. - DSN config: build transports from
smtp://…, includingfailover(…)/roundrobin(…)composites. - Observability: opt-in OpenTelemetry traces & metrics via a separate module.
- Secure by default: verified TLS, cleartext-auth refused, sane timeouts.
- Testable: in-memory recording transport with assertion helpers.
Modules
Multi-module workspace — pull in only what you use:
github.com/shyim/go-mailer— coregithub.com/shyim/go-mailer/transport/smtpgithub.com/shyim/go-mailer/transport/sendmailgithub.com/shyim/go-mailer/middleware/otelmw
go get github.com/shyim/go-mailer@v0.1.0Pre-1.0 — the API may still change.