Skip to content

Releases: shyim/go-mailer

v0.1.0

22 Jun 12:36
v0.1.0
3b3063f

Choose a tag to compare

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) and AfterSend (observe) hooks around any transport.
  • DSN config: build transports from smtp://…, including failover(…) / 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 — core
  • github.com/shyim/go-mailer/transport/smtp
  • github.com/shyim/go-mailer/transport/sendmail
  • github.com/shyim/go-mailer/middleware/otelmw
go get github.com/shyim/go-mailer@v0.1.0

Pre-1.0 — the API may still change.