$npx skillfedfor your agent

emails

Modern python library for emails.

Worth itPyPI Python ModulesReleased May 2026796.0K downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — emails-1.1.2-py3-none-any.whl
v1.1.2 · released 2026-05-18 · Python >=3.10 · 3 runtime deps: python-dateutil, puremagic, dkimpy

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. Install it if you need to send HTML emails, attach files, render templates, or sign with DKIM—features that would otherwise require substantial boilerplate. Skip it only if you need only minimal plain-text SMTP and want to avoid any dependencies.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • SMTP credentials and a working mail server are needed to send messages.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

Apache License 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2026-05-18 (88 days) · last repo commit 2026-05-18 · 425 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 796,004 downloads/mo, #5,033 on PyPI

Verify before relying

pip install emails

import emails

message = emails.html(
    subject="Test",
    html="<p>Hello</p>",
    mail_from=("sender", "sender@example.com")
)
response = message.send(
    to="recipient@example.com",
    smtp={"host": "smtp.example.com", "port": 587, "tls": True}
)
  • Whether optional extras (html, jinja, async) are automatically installed or require explicit specification
  • Performance characteristics when handling large attachments or bulk message composition
  • Compatibility details with async/await patterns beyond the aiosmtplib integration mentioned
Same gist for agents: .md · .json

What it is and what it does

python-emails is a high-level library for composing and sending emails in Python, sitting above the standard library's email and smtplib modules. It handles HTML and plain-text messages in a single object, manages attachments and inline images, supports template rendering, applies HTML transformations like CSS inlining, signs messages with DKIM, and sends via SMTP with TLS/SSL—all without requiring manual MIME tree construction.

The library is designed for developers who need more than basic plain-text SMTP but want to avoid boilerplate. It depends on python-dateutil for date handling, puremagic for file type detection, and dkimpy for cryptographic signing. The package is production-stable, actively maintained, and supports Python 3.10 through 3.14.

Use it for

  • Send transactional emails (receipts, confirmations) with HTML formatting and PDF attachments
  • Render templated emails using Jinja2 or Mako with dynamic content and CSS inlining
  • Build marketing or notification emails with inline images and HTML transformations
  • Sign outgoing emails with DKIM for improved deliverability and authentication
  • Load and transform email messages from external sources (URLs, files, ZIP archives)
  • Integrate email sending into Django applications via the DjangoMessage class

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. Install it if you need to send HTML emails, attach files, render templates, or sign with DKIM—features that would otherwise require substantial boilerplate. Skip it only if you need only minimal plain-text SMTP and want to avoid any dependencies.

Install

emails on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a recent release 88 days ago and ongoing commits. Depends on python-dateutil, puremagic, and dkimpy—all stable, widely-used libraries.

Requires Python 3.10 or later. SMTP credentials and a working mail server are needed to send messages.

License in practice

Apache 2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install emails

import emails

message = emails.html(
    subject="Test",
    html="<p>Hello</p>",
    mail_from=("sender", "sender@example.com")
)
response = message.send(
    to="recipient@example.com",
    smtp={"host": "smtp.example.com", "port": 587, "tls": True}
)

Verify before relying

  • Whether optional extras (html, jinja, async) are automatically installed or require explicit specification
  • Performance characteristics when handling large attachments or bulk message composition
  • Compatibility details with async/await patterns beyond the aiosmtplib integration mentioned

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
python-dateutilpuremagicdkimpy
MaintenanceActively maintained 88 days since the last release
Last repo commit
First released
Downloads796,004 / month, #5,033 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: CommunicationsTopic :: Internet :: WWW/HTTPTopic :: Other/Nonlisted TopicTopic :: Software Development :: Libraries :: Python Modules

Evidence: emails-1.1.2-py3-none-any.whl

Tags

Capabilities
send emails pythonhtml email buildersmtp email libraryemail attachments inline imagesdkim email signingemail template renderingcompose emails python
Topics
email-deliverysmtp-clienthtml-email

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “send emails python”

  • emailsBuild and send HTML and plain-text emails with attachments, inline…
  • mailjet-restA Python wrapper for the Mailjet Email API that handles…
  • mailslurp-clientMailSlurp provides a Python client for an email API service that lets…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also email-to · yagmail · redmail · mailslurp-client · fastapi-mail · django-templated-mail · authheaders · django-post_office · dkimpy · css-inline