Go email libraries
Sending, parsing and validating email in Go, ranked by GitHub stars
更新 · GitHub stars (stars)
なぜこの20か
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
MailHog
Email and SMTP testing with web and API interface.
16,209 stars 1,181 forkslast push 2024-02-13GoMIT
-
2
-
3
Maddy
All-in-one (SMTP, IMAP, DKIM, DMARC, MTA-STS, DANE) email server
6,137 stars 346 forkslast push 2026-11-19GoGPL-3.0
-
4
mox
Modern full-featured secure mail server for low-maintenance, self-hosted email.
5,955 stars 244 forkslast push 2026-10-27GoMIT
-
5
hermes
Golang package that generates clean, responsive HTML e-mails.
3,045 stars 250 forkslast push 2025-04-04GoApache-2.0
-
6
-
7
emersion/go-imap
IMAP library for clients and servers.
2,364 stars 391 forkslast push 2026-11-14GoMIT
-
8
email-verifier
A Go library for email verification without sending any emails.
1,663 stars 242 forkslast push 2026-11-02GoMIT
-
9
-
10
-
11
mailgun-go
Go library for sending mail with the Mailgun API.
743 stars 145 forkslast push 2026-11-19GoBSD-3-Clause
-
12
go-simple-mail
Very simple package to send emails with SMTP Keep Alive and two timeouts: Connect and Send.
699 stars 109 forkslast push 2026-10-29GoMIT
-
13
go-message
Streaming library for the Internet Message Format and mail messages.
460 stars 133 forkslast push 2025-02-16GoMIT
-
14
-
15
-
16
-
17
smtpmock
Lightweight configurable multithreaded fake SMTP server. Mimic any SMTP behaviour for your test environment.
170 stars 25 forkslast push 2026-04-08GoMIT
-
18
truemail-go
Configurable Golang email validator/verifier. Verify email via Regex, DNS, SMTP and even more.
137 stars 22 forkslast push 2024-08-30GoMIT
-
19
BrianLeishman/go-imap
Batteries-included IMAP client with auto-reconnect, OAuth2, IDLE support, and built-in MIME parsing.
109 stars 38 forkslast push 2026-11-02GoMIT
-
20
参考資料
- avelino/awesome-go: Email, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-20 22:30 UTC.
- avelino/awesome-go (Email), GitHub community list, 26 tools with a public repository.