awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
go-gomail avatar

go-gomail/gomail

0
View on GitHub↗
4,737 stars·583 forks·Go·MIT·7 views

Gomail

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 project covers email composition, including the creation of multipart messages with plain text and HTML versions, custom headers, and external file attachments. It provides infrastructure for MIME-compliant serialization and the transport of messages via the standard mail transfer protocol.

Features

  • SMTP Message Transmission - Provides a complete Go implementation for composing and delivering electronic mail via the Simple Mail Transfer Protocol.
  • SMTP Sending - Provides the core transport layer for delivering formatted email messages to remote servers via the SMTP protocol.
  • Message Construction - Allows constructing email messages with custom headers, recipients, and bodies using specific character sets.
  • SMTP Clients - A Go-language client library for programmatic interaction with SMTP mail servers to compose and send emails.
  • Session Authentications - Handles server session authentication using standard protocols to authorize the transmission of outgoing emails.
  • MIME Message Construction - Converts structured email objects and attachments into byte streams following MIME internet message standards.
  • MIME Serialization - Provides utilities to convert a message object and its attachments into a byte stream for network transmission.
  • Multipart Email Formatters - Builds complex multipart emails that combine HTML and plain text alternatives with file attachments.
  • Secure Email Delivery - Establishes encrypted connections and authenticates server sessions to protect sensitive data during email transmission.
  • SMTP TLS Encryption - Secures the transmission of email content and credentials using TLS encryption between the client and the SMTP server.
  • Alternative Content Versions - Supports composing multipart messages that provide both plain text and HTML versions of the email body.
  • Transactional Email Notifications - Enables the programmatic sending of automated transactional emails triggered by application events.
  • File Attachments - Supports attaching external files to an email message as part of the transmission process.
  • Bulk Email Dispatchers - Optimizes the dispatch of large volumes of messages by utilizing persistent SMTP connections.
  • Connection and Latency Optimizers - Optimizes network performance by reusing a single established connection to send multiple emails, reducing handshake latency.
  • Connection Pooling - Implements connection reuse to transmit multiple email messages over a single session, reducing network handshake latency.
  • Email Content Formatting - Allows building messages using templates and embedded images with automatic encoding for correct rendering.
  • SMTP Session Management - Manages server session authentication and optimizes delivery by sending multiple messages over a single connection.
  • Email Services - Simple library for sending emails.

Star history

Star history chart for go-gomail/gomailStar history chart for go-gomail/gomail

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does go-gomail/gomail do?

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.

What are the main features of go-gomail/gomail?

The main features of go-gomail/gomail are: SMTP Message Transmission, SMTP Sending, Message Construction, SMTP Clients, Session Authentications, MIME Message Construction, MIME Serialization, Multipart Email Formatters.

What are some open-source alternatives to go-gomail/gomail?

Open-source alternatives to go-gomail/gomail include: phpmailer/phpmailer — PHPMailer is a comprehensive library for constructing and sending complex email messages within PHP applications. It… nodemailer/nodemailer — Nodemailer is a comprehensive library for Node.js applications designed to handle the composition, signing, and… neomutt/neomutt — NeoMutt is a terminal-based electronic mail management system that provides a text-based user interface for reading… mikel/mail — This is a Ruby email library providing a comprehensive toolset for composing, parsing, and sending emails. It includes… swiftmailer/swiftmailer — SwiftMailer is an object-oriented PHP email delivery library used to compose and send email messages within… foxcpp/maddy — Maddy is a modular mail server that assembles a complete email system by connecting small, single-purpose modules…

Open-source alternatives to Gomail

Similar open-source projects, ranked by how many features they share with Gomail.
  • phpmailer/phpmailerPHPMailer avatar

    PHPMailer/PHPMailer

    22,192View on GitHub↗

    PHPMailer is a comprehensive library for constructing and sending complex email messages within PHP applications. It provides an object-oriented framework for building MIME-compliant emails, managing attachments, and handling multi-format content such as HTML and plain-text alternatives. The library serves as a robust interface for email dispatch, supporting both individual messaging and high-performance bulk distribution through persistent connections. The project distinguishes itself through a deep focus on secure transmission and identity verification. It integrates advanced security proto

    PHPattachmentemailhacktoberfest
    View on GitHub↗22,192
  • nodemailer/nodemailernodemailer avatar

    nodemailer/nodemailer

    17,583View on GitHub↗

    Nodemailer is a comprehensive library for Node.js applications designed to handle the composition, signing, and transmission of email messages. It provides a robust framework for constructing MIME-compliant content, managing complex attachments, and routing messages through various delivery channels, including standard SMTP servers, local mail transfer agents, and cloud-based email services. The library distinguishes itself through a modular, plugin-based transport architecture that allows for custom delivery mechanisms and environment-specific configurations. It includes advanced features fo

    JavaScriptemailemail-sendernodemailer
    View on GitHub↗17,583
  • neomutt/neomuttneomutt avatar

    neomutt/neomutt

    3,659View on GitHub↗

    NeoMutt is a terminal-based electronic mail management system that provides a text-based user interface for reading and composing emails. It functions as a mail manager and client supporting IMAP, POP3, and SMTP protocols, as well as NNTP for newsgroup access. The project distinguishes itself through integrated support for PGP and S/MIME encryption, providing tools for signing and encrypting messages and managing cryptographic keys. It supports modern authentication via OAuth2 and offers specialized MIME-aware reading capabilities for decoding multipart messages and visualizing MIME structure

    Cccliemail
    View on GitHub↗3,659
  • mikel/mailmikel avatar

    mikel/mail

    3,674View on GitHub↗

    This is a Ruby email library providing a comprehensive toolset for composing, parsing, and sending emails. It includes an SMTP client for delivering outgoing messages and a MIME parser for decomposing complex multipart email structures. The project features an IMAP and POP3 mail fetcher for synchronizing messages from remote servers, alongside a specialized framework for testing email logic through mock delivery methods and matchers. The library covers a broad range of email operations, including the generation of nested multipart messages, the management of attachments, and the translation

    Ruby
    View on GitHub↗3,674
  • See all 30 alternatives to Gomail→