For a python library for sending emails, the strongest matches are twisted/twisted (Twisted is a comprehensive asynchronous networking framework that includes), zedshaw/lamson (Lamson is a Pythonic SMTP application server that provides) and go-gomail/gomail (This is a Go library for composing and sending). amaurymartiny/check-if-email-exists and neomutt/neomutt round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
We curate open-source GitHub repositories matching “best python email libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
Twisted is an event-driven networking engine for Python that provides a framework for building asynchronous network applications. At its core, it uses a reactor-based event loop to drive all input and output, dispatching callbacks in a single thread without blocking. The library implements a deferred promise chain for composing asynchronous logic, along with a protocol and factory pattern that separates connection state management from protocol handling, enabling reusable handlers for different network protocols. The framework supports multiple event loops across platforms, including select,
Twisted is a comprehensive asynchronous networking framework that includes robust, production-ready implementations for SMTP, IMAP, and POP3 protocols, making it a powerful choice for building complex email-handling systems.
Pythonic SMTP Application Server
Lamson is a Pythonic SMTP application server that provides a framework for building complex email handling logic, including MIME parsing and SMTP interaction, though it is more focused on server-side processing than a general-purpose client library.
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 is a Go library for composing and sending emails via SMTP, which does not meet the requirement for a Python-based email library.
This project is an email verification tool that checks if an email address exists and can receive messages without sending an actual email. It provides these capabilities through a programmatic HTTP API and a local command line interface. The system distinguishes itself by combining SMTP handshake verification and DNS record resolution with a risk analysis tool that detects disposable addresses, role-based accounts, and catch-all domains. It also includes a metadata aggregator to retrieve public profile information and imagery associated with a specific email address. The broader capability
This tool is a specialized email verification service rather than a general-purpose Python library for sending, receiving, or parsing email messages.
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
NeoMutt is a terminal-based email client for end users rather than a library for developers to programmatically send, receive, or parse emails.
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 specialized phishing simulation platform rather than a general-purpose Python library for programmatic email handling, making it a tool for security testing rather than a developer utility for email integration.
K-9 is an open source email client for Android devices designed for sending and receiving electronic mail. It operates as an IMAP and SMTP mail client that allows users to synchronize and manage multiple email accounts. The application features a unified inbox that aggregates messages from various accounts into a single chronological view. This enables the organization of multiple mail sources within a centralized interface. The software handles mobile email management through local-first message storage for offline access and background service syncing to poll servers for new messages. It u
This is a full-featured Android email application rather than a Python library for programmatic email handling, making it a tool for end-users instead of a development component.
Pop is a command-line email client and utility used to compose and deliver electronic messages directly from the terminal. It functions as a dispatch system that routes messages through SMTP servers or third-party API services. The tool includes a markdown composer that transforms markdown text into formatted HTML for email bodies. It manages sender identities and server credentials through a combination of persistent default configurations and environment variables. The system supports appending binary data from the local filesystem as attachments and provides a pipeline for automated email
This is a command-line application for sending emails rather than a Python library, making it a tool for end-users rather than a programmatic component for developers.
Roundcube is an open-source, self-hosted webmail client designed for reading, composing, and organizing emails stored on remote servers using IMAP and SMTP protocols. It provides a browser-based interface that allows users to manage their mailboxes and sender identities through a secure communication platform. The platform is distinguished by its modular architecture, featuring a plugin-based extension system for adding new functional modules and a skin-based theme layer for customizing the visual appearance and responsive layouts. It further supports embedding its interface into external clo
This is a full-featured webmail application for end-users rather than a programmatic library for developers to build email functionality into their own Python applications.
Rainloop Webmail is a self-hosted, browser-based email application that connects to external mail servers using IMAP and SMTP protocols. It operates as a stateless client, fetching data directly from servers without requiring a local database to store messages. The system supports multi-account email management, allowing users to link multiple email identities to a single session for simultaneous access across different browser tabs. It includes a plugin-based extension system and tools for user interface customization and branding. The application provides capabilities for email workflow au
This is a complete, browser-based webmail application rather than a Python library for programmatic email handling, making it a tool for end-users rather than a development component.
This project is a self-hosted email verification system and API designed to validate email existence and clean mailing lists on private infrastructure. It functions as a deliverability tool that confirms if email addresses are reachable by communicating with mail servers via the SMTP protocol without sending actual messages. The system is distinguished by its high-volume SMTP infrastructure, which utilizes a stateless worker architecture and message queue task distribution to scale validation tasks. It includes an SMTP proxy gateway that routes requests through SOCKS5 proxies to mask server i
This project is a specialized email verification and deliverability tool rather than a general-purpose library for sending, receiving, or parsing emails programmatically.
Zero is an email automation and link management platform designed for self-hosted infrastructure. It functions as an intelligent system that categorizes, prioritizes, and responds to incoming email communications using autonomous agents, while synchronizing message history into local storage for efficient data processing. The platform distinguishes itself by integrating enterprise identity providers to manage team access and permissions across shared resources. It also features a comprehensive link management toolset that generates branded URLs and personalized QR codes, supported by advanced
This is a self-hosted email automation and management platform rather than a Python library for programmatic email handling, making it a tool you would use rather than a component to build with.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| twisted/twisted | 6K | Python | NOASSERTION | |
| zedshaw/lamson | 740 | Python | NOASSERTION | |
| go-gomail/gomail | 4.7K | Go | MIT | |
| amaurymartiny/check-if-email-exists | 8.8K | Rust | NOASSERTION | |
| neomutt/neomutt | 3.7K | C | gpl-2.0 | |
| gophish/gophish | 13.9K | Go | NOASSERTION | |
| thundernest/k-9 | 13.6K | Kotlin | Apache-2.0 | |
| charmbracelet/pop | 2.8K | Go | mit | |
| roundcube/roundcubemail | 6.8K | PHP | — | |
| rainloop/rainloop-webmail | 4.1K | PHP | MIT |