Async Support for the Python SDK
Send emails asynchronously in Python using the new async methods powered by httpx.
The Python SDK now supports async out of the box for FastAPI, async Django, and other async Python frameworks.
Installation
pip install "resend[async]"
Sending an email asynchronously
Every method has an _async counterpart:
import asyncio
import resend
resend.api_key = "re_your_api_key"
async def main():
params: resend.Emails.SendParams = {
"from": "onboarding@resend.dev",
"to": ["delivered@resend.dev"],
"subject": "Hello from async Python",
"html": "<strong>it works!</strong>",
}
email = await resend.Emails.send_async(params)
print(email)
asyncio.run(main())
No breaking changes
The existing sync API is unchanged. Async is opt-in — if httpx is not installed, calling an _async method raises a ResendError with code AsyncClientNotConfigured.
All SDK modules have async counterparts: Emails, Batch, ApiKeys, Audiences, Broadcasts, Contacts, and Domains.

Fetched May 13, 2026


