$npx skillfedfor your agent

aiosmtplib

asyncio SMTP client

Worth itPyPI LibrariesReleased Jun 202619.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiosmtplib-5.1.2-py3-none-any.whl
v5.1.2 · released 2026-06-20 · Python >=3.10

Yes. aiosmtplib is actively maintained, has no dependencies, carries a permissive MIT license, and fills a clear gap for async Python applications that need SMTP. The low install friction and stable production status make it a straightforward choice if you're already using asyncio and need to send email without blocking.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with no runtime dependencies.
  • Active maintenance: last commit 2026-08-06, release 55 days ago.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute aiosmtplib freely provided you retain the license notice.

last release 2026-06-20 (55 days) · last repo commit 2026-08-06 · 430 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,588,512 downloads/mo, #1,059 on PyPI

Verify before relying

import asyncio
from email.message import EmailMessage
import aiosmtplib

message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = "somebody@example.com"
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib")

asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))
  • Whether TLS/SSL support is included and how to configure it
  • Authentication method support (PLAIN, LOGIN, etc.) and configuration
  • Connection pooling or session management capabilities
Same gist for agents: .md · .json

What it is and what it does

aiosmtplib is a pure-Python SMTP client built for asyncio that lets you send email without blocking your event loop. Unlike the standard library's synchronous smtplib, it integrates directly into async/await code, making it suitable for applications that handle many concurrent operations—web servers, task queues, or any asyncio-based system that needs to send mail.

The package has no runtime dependencies and installs as a single wheel. It wraps the SMTP protocol in async methods, so you construct an EmailMessage using the standard library's email.message module, then pass it to aiosmtplib.send() or manage a connection manually. Requires Python 3.10 or later.

Use it for

  • Send transactional emails from a FastAPI or Starlette web application without blocking request handlers
  • Batch email delivery in an asyncio task queue or background job system
  • Integrate email notifications into an async event-driven architecture
  • Concurrent mail operations where multiple messages are sent in parallel within a single event loop

Worth the install?

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

Worth it

Yes.

aiosmtplib is actively maintained, has no dependencies, carries a permissive MIT license, and fills a clear gap for async Python applications that need SMTP. The low install friction and stable production status make it a straightforward choice if you're already using asyncio and need to send email without blocking.

Install

aiosmtplib on PyPI

Before you install

Low install friction with no runtime dependencies. Active maintenance: last commit 2026-08-06, release 55 days ago. Stable production status since first release in 2016.

Requires Python 3.10 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute aiosmtplib freely provided you retain the license notice.

Quickstart

import asyncio
from email.message import EmailMessage
import aiosmtplib

message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = "somebody@example.com"
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib")

asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))

Verify before relying

  • Whether TLS/SSL support is included and how to configure it
  • Authentication method support (PLAIN, LOGIN, etc.) and configuration
  • Connection pooling or session management capabilities

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 55 days since the last release
Last repo commit
First released
Downloads19,588,512 / month, #1,059 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: No Input/Output (Daemon)Framework :: AsyncIOIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentTopic :: CommunicationsTopic :: Communications :: EmailTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: aiosmtplib-5.1.2-py3-none-any.whl

Tags

Capabilities
async smtp clientasyncio email sendingnon-blocking smtppython async mailasyncio email library
Topics
async-ioemail-delivery
PyPI keywords
asyncioemailsmtp

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 › “async smtp client”

  • aiosmtplibaiosmtplib is an asynchronous SMTP client that sends email messages…
  • yagmailSimplifies sending emails via Gmail or any SMTP server, with built-in…
  • aiosmtpdaiosmtpd is an asyncio-based SMTP server that handles email message…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also aiosmtpd · yagmail · fastapi-mail · IMAPClient · pyserial-asyncio · aioimaplib · aiopg · aiomysql · apache-airflow-providers-smtp · aiomcache