wneessen/go-mail
📧 Easy to use, yet comprehensive library for sending mails with Go observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 98
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 27.0
- age_days: 1642
- days_rel: 55
- days_push: 16
- n_releases_24m: 13
Adoption not part of the score
1471 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
go-mail is a modern, feature-rich Go library for composing and sending email over SMTP. It provides mail composition, encoding, DKIM and S/MIME signing, attachments, templating, and TLS/SMTP auth options with a small dependency footprint built mainly on the Go standard library.
Use cases
- send email from a Go application
- send transactional emails via SMTP in Go
- sign outgoing emails with DKIM or S/MIME
- send emails with attachments and inline images
- send templated HTML emails
- connect to SMTP servers with STARTTLS or implicit TLS
- import and export EML messages programmatically
When to choose
- you need a comprehensive, idiomatic Go email library with secure defaults
- you want DKIM/S/MIME signing, attachments, and templating in one package
- you prefer minimal dependencies built on the Go standard library
- you need fine-grained TLS policies and SMTP auth mechanisms
When to avoid
- you need a full mail server or IMAP/POP3 retrieval - this only sends mail
- you want a hosted email API client (e.g. SendGrid) rather than raw SMTP delivery
- you work outside the Go ecosystem
Facets
library · maturity active
email http-client auth cryptography templating middleware email developer-tools backend apis go cross-platform cli smtp dkim smime starttls mail-composition eml mua rfc5322
2 sources
- readme: https://github.com/wneessen/go-mail · fetched 2026-08-28 · e3a2fce3052f
- homepage: https://go-mail.dev · fetched 2026-08-29 · 94677703be07
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wneessen/go-mail | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="wneessen/go-mail")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem