Send email from Python in minutes
A plain HTTP call is all it takes. No SDK required: send transactional email from Python with the MailerOwl API.
No SDK to install
Use the HTTP client you already have in Python. The API is a single JSON endpoint.
Test mode keys
Develop against mo_test_ keys: the full pipeline, no real email.
Events and webhooks
Track delivery, bounces and complaints from your Python app with signed webhooks.
python
import os, requests
r = requests.post("https://api.mailerowl.com/v1/emails",
headers={"Authorization": "Bearer " + os.environ["MAILEROWL_KEY"]},
json={"from": "Acme <hello@acme.com>", "to": ["jane@example.com"], "subject": "Welcome", "html": "<p>Hi!</p>"})
print(r.json())Questions
Is there an official Python SDK?
Not yet. The API is intentionally simple: one POST with a JSON body.
Can I use SMTP from Python instead?
Yes. Use smtp.mailerowl.com on port 587 with your API key as the password.