Send Email with
Python

Integrate Reloop with Flask, FastAPI, or any Python app using a clean client with type hints and straightforward error handling.

Send your first email

Install the SDK, set your API key, and call emails.send.

pip install reloop
send_email.python
import os
from reloop import Reloop

client = Reloop(api_key=os.environ["RELOOP_API_KEY"])

params = {
    "from": "Acme <onboarding@yourdomain.com>",
    "to": ["delivered@yourdomain.com"],
    "subject": "Hello from Python",
    "html": "<strong>It works!</strong>",
}

email = client.emails.send(params)
print(f"Email sent: {email['id']}")

Built for Python developers

Idiomatic Python client

Follows conventions your team already uses—clear types, predictable errors, and examples that match the official quickstart.

FlaskFastAPIDjango SMTP

Fast delivery

Messages route through Reloop's edge network for sub-second handoffs and high inbox placement.

Events & webhooks

Track delivered, bounced, and opened events from your Python app with signed webhook payloads.

Production ready

API keys, domain verification, rate limits, and observability—everything you need before going live.

Three steps with Python

1

Install

Run pip install reloop in your project.

2

Authenticate

Add your Reloop API key from the dashboard and verify a sending domain.

3

Send

Copy the sample above or follow the full Python guide.

Start sending with Python

Get your API key and explore framework-specific tutorials in our documentation.

← All languages