Packages
Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.
Install it if you need to parse Markdown in Python.
aiosmtplib is an asynchronous SMTP client that sends email messages using asyncio, allowing non-blocking email operations in async Python applications.
Wikipedia-API is a Python wrapper for Wikipedia's MediaWiki API that retrieves page content, sections, links, categories, and metadata in both synchronous and asynchronous modes.
Extracts encapsulated HTML and plain text content from RTF bodies in .msg email files, reversing the RTF encapsulation that Microsoft Exchange applies.
Parses Outlook MSG files to extract email messages, attachments, and message properties like sent date and sender information.
Sends and receives email in Django through multiple transactional email service providers (ESPs) with a unified API that avoids vendor lock-in.
Install it if you're using Django and any transactional ESP; the abstraction pays for itself the moment you need to switch providers.
IMAPClient provides a Pythonic interface to IMAP servers, handling mailbox access, message retrieval, and email operations with automatic parsing of server responses and transparent UID management.
aiosmtpd is an asyncio-based SMTP server that handles email message reception and routing, similar to the standard library's smtpd module but built for concurrent async workloads.
A Python wrapper for the Mailjet Email API that handles authentication, request building, and response parsing for sending emails and managing email-related resources through Mailjet's v3, v3.1, and v1 endpoints.
Install it if you need to send email through Mailjet from Python—it's the official client and handles authentication and request building for you.
Postmarker is a Python client library for the Postmark email API, enabling you to send single and batch emails, manage templates, handle bounces, and integrate webhooks.
However, be aware that maintenance is infrequent—the last release was January 2022—so if Postmark has added new API features since then, this library may not expose…
Implements DKIM (DomainKeys Identified Mail) email signing and verification, along with ARC (Authenticated Receive Chain) and TLSRPT support for cryptographic email authentication.
However, high install friction (manual setup.py incantation for scripts) and 771-day release gap mean you should verify it works with your Python version and DNS…
An asyncio-based IMAP4rev1 client library that brings async/await support to email mailbox operations, with no runtime dependencies and support for IDLE mode to wait for new messages without polling.
Parses EML (email) files and extracts structured information including headers, body content, attachments with hashes, recipient lists, received server paths, subjects, and URLs found in message text.
The AGPLv3+ license is a constraint for proprietary software but not for internal tools, open-source projects, or research.
Detects and extracts original bouncing email addresses from bounce messages, supporting multiple formats including VERP and RFC 3464 (DSN).
Converts MJML (a markup language for responsive emails) to HTML without requiring Node.js, using pure Python.
Generates and validates email authentication headers (DKIM, SPF, DMARC, ARC) and packages validation results into Authentication-Results headers for email messages.
However, the 781-day release lag and lack of active development mean you should verify that the embedded PSL is current for your use case and be prepared to maintain…
Simplifies sending emails via Gmail or any SMTP server, with built-in support for attachments, HTML content, and asynchronous sending.
Official Python SDK for the Mailgun email service API, providing synchronous and asynchronous clients to send messages, manage domains, webhooks, templates, and access email delivery metrics.
Install it if you use Mailgun for email delivery and want a well-supported, type-hinted Python client.
Provides utilities for parsing, converting, and inspecting email Message and EmailMessage objects from Python's standard library, including Content-Type parsing, message-to-dict conversion, and address extraction.
Install it if you work with email messages and need cleaner introspection or conversion utilities.
Mailman is a mailing list management system that handles subscription, moderation, archiving, and delivery of email to subscriber lists, with web and command-line interfaces.
Routes Django email sending through Celery task queues for asynchronous, out-of-band message delivery instead of blocking the request.
However, proceed with caution: the repository is archived and unmaintained since 2019, so compatibility with modern Django (4.0+) and Celery (5.x+) is unverified.
Official Python client for the SparkPost email transmission API, enabling programmatic sending of emails through SparkPost's infrastructure.
Decodes Microsoft's Transport Neutral Encapsulation Format (TNEF) and extracts attachments, message bodies, and metadata from TNEF-encoded email messages.
Install it if you need to parse TNEF files or extract attachments from Microsoft-encoded email messages.
Endesive signs and verifies digital signatures in PDF, S/MIME email, XML, and plain-text documents using cryptographic keys and certificates.
Python client library for the NeverBounce email verification API v4, enabling single email checks, bulk job management, and account queries.
Validates SPF, DMARC, BIMI, MTA-STS, and related email authentication DNS records, with API, CLI, and JSON/CSV output modes.
Django Post Office queues and sends emails asynchronously with template support, HTML rendering, and database-backed scheduling.
Install it if you need to queue emails, use templates, or avoid blocking requests on mail operations.
Identifies and separates quoted text from original content in plain text and HTML email messages, and unwraps forwarded messages or replies to extract headers and body text.
However, high install friction (source-only distribution) may cause deployment friction in some environments.
Redmail simplifies sending emails with Python by wrapping SMTP into a high-level API that handles attachments, Jinja templating, embedded images, and formatted tables.
Mandrill is a deprecated Python API client and CLI tool for sending emails through the Mandrill email service platform, now replaced by mailchimp-transactional.
Validates email addresses against RFC standards and optionally checks DNS records to confirm the domain can receive mail.
Normalizes email addresses by detecting the mailbox provider and stripping provider-specific behaviors like plus addressing and period ignoring, with optional async support and DNS-based MX record lookup.