For a Go library for sending emails, the strongest matches are go-gomail/gomail (This library provides robust tools for composing complex MIME), jordan-wright/email (This library provides a robust and flexible way to) and emersion/go-message (This library provides robust streaming support for parsing and). scorredoira/email and arikchakma/maily.to round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
We curate open-source GitHub repositories matching “best go email libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
gomail is a Go SMTP client library used for composing and sending email messages through SMTP servers. It functions as an email message composer and MIME email serializer, converting complex email objects and binary attachments into byte streams according to internet message standards. The library includes an SMTP connection manager that handles server session authentication and transmits multiple messages over a single encrypted connection to reduce network latency. It supports secure email delivery through encrypted data transmission to protect sensitive information during transit. The pro
This library provides robust tools for composing complex MIME messages and managing SMTP sessions, though it focuses primarily on sending rather than email parsing or decoding.
Robust and flexible email library for Go
This library provides a robust and flexible way to compose and send complex MIME-compliant emails with attachments and HTML content, though it focuses primarily on sending rather than parsing or asynchronous queuing.
✉️ A streaming Go library for the Internet Message Format and mail messages
This library provides robust streaming support for parsing and composing complex MIME and Internet Message Format emails, making it a core component for handling email data in Go.
This library provides a straightforward and reliable way to compose and send complex MIME-encoded emails with attachments in Go, though it lacks built-in HTML templating and advanced parsing capabilities.
This project is a visual HTML email builder and responsive design tool used to create mobile-ready email layouts. It includes a dynamic email template engine and an artificial intelligence generator for drafting email copy and structural layouts. The system utilizes a component-based layout engine to build emails using standardized blocks and columns, which are translated into table-based HTML for compatibility across diverse email clients. It supports personalization through variable-based template interpolation and conditional logic to adjust content based on specific data sets. The platfo
This is a visual email design and template-building application rather than a Go library for programmatically composing, sending, or parsing email messages.
React Email is a development framework for designing and testing HTML emails using a library of modular components. It provides a set of reusable UI primitives that allow developers to build email templates through declarative code, ensuring consistent visual presentation across various desktop and mobile email service providers. The framework functions by transforming component trees into static HTML markup, automatically handling the complex requirements of email client rendering. It includes a built-in engine that extracts style declarations and injects them directly into HTML elements, by
This is a React-based component library for designing and rendering email templates, not a Go library for composing, sending, or parsing email messages.
Gophish is an open-source phishing toolkit and simulation framework designed to test organizational security awareness and evaluate vulnerability to social engineering attacks. It provides a core engine for sending deceptive emails to targets and tracking their interactions to identify gaps in security training. The platform functions as a comprehensive campaign manager for deploying lures and monitoring email delivery and click-through rates. It allows for the design and execution of simulated email threats to track how targets interact with malicious-looking content or provide credentials i
This is a complete phishing simulation platform rather than a general-purpose library for composing, sending, and parsing emails in your own applications.
MJML is a responsive email framework and HTML email compiler that translates simplified semantic markup into complex HTML. It functions as an email template engine designed to produce layouts that render consistently across a wide range of email clients. The system provides a markup validation tool to check structural integrity and syntax before compilation. It also includes a version migration utility to upgrade older template files to newer language versions while preserving content and layout structure. The toolset covers several capability areas, including command-line markup compilation
This is a JavaScript-based email template compiler for generating responsive HTML, but it lacks the SMTP client, parsing, and asynchronous sending capabilities required for a full Go email library.
This project is a responsive email design framework providing a collection of HTML templates and boilerplates specifically for transactional messages. It serves as a toolkit for building and validating emails that maintain a consistent appearance across diverse email clients and devices. The framework includes pre-made layouts for common business communications, such as billing receipts, account warnings, and email verification requests. It utilizes a CSS inlining tool to convert external stylesheets into inline element styles, ensuring visual consistency across different providers. The syst
This repository provides a collection of HTML templates and CSS inlining tools for email design, but it lacks the SMTP client, parsing, and message composition capabilities required for a full-featured email library.
Email-Blueprints is a modular email framework and HTML template library used to assemble custom email structures from a collection of reusable design patterns and blocks. It provides a system of flexible components for creating consistent email designs across diverse clients. The framework enables the creation of responsive layouts that adapt to various screen sizes and fixed-width designs for legacy email client compatibility. It also supports dynamic content templates that utilize merge tags to inject recipient-specific data for personalization. The project covers the development of cross-
This repository provides a collection of HTML templates and design patterns for email layouts rather than a Go library for composing, sending, or parsing email messages.
Heml is a framework providing a custom markup language and compiler designed to generate responsive HTML and CSS for consistent rendering across email clients. It functions as a system for transforming specialized markup strings into deliverable email templates and associated metadata. The project features a component system for defining reusable custom elements and style rules to standardize design patterns. It includes a responsive layout engine that converts flexible grid structures, columns, and rows into compatible fixed-width tables and fluid layouts. The toolset covers email metadata
This is a markup language and template compiler for designing responsive email layouts, but it lacks the SMTP client, parsing, and asynchronous sending capabilities required for a general-purpose email library.
Mailtrain is a self-hosted newsletter platform and email marketing tool designed for managing subscriber lists and sending automated email campaigns from a private server. It provides a centralized system for coordinating the creation and delivery of recurring email outreach. The platform includes a visual email template builder for creating responsive layouts and a subscriber management system that uses custom fields to organize audiences into targeted segments. Automation is handled through tools that can trigger newsletters based on remote feeds and scheduled events. Performance is tracke
This is a complete, self-hosted email marketing application rather than a Go library for developers to compose, send, and parse emails programmatically.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| go-gomail/gomail | 4.7K | Go | MIT | |
| jordan-wright/email | 2.8K | Go | MIT | |
| emersion/go-message | 451 | Go | MIT | |
| scorredoira/email | 0 | — | — | — |
| arikchakma/maily.to | 3.8K | TypeScript | MIT | |
| resend/react-email | 19.4K | TypeScript | MIT | |
| gophish/gophish | 13.9K | Go | NOASSERTION | |
| mjmlio/mjml | 18.1K | JavaScript | MIT | |
| mailgun/transactional-email-templates | 6.9K | HTML | MIT | |
| mailchimp/email-blueprints | 7K | — | — |