Send HIPAA compliant email with Python
Add secure, transactional email to any Python app. BAA included, TLS 1.2+ by default.
Integrate with any Python app
Drop the Paubox SDK into your existing Python stack and start sending in minutes.
from paubox import PauboxApiClient
from paubox.helpers.mail import Mail
client = PauboxApiClient()
mail = Mail(
from_ = 'sender@yourdomain.com',
subject = 'Your first Paubox email',
recipients = ['recipient@example.com'],
content = {'text/plain': 'This message was sent with the Paubox Python SDK.'}
)
response = client.send(mail.get())
print('Status:', response.status_code)
All you need to get started
Resources to help you integrate HIPAA compliant email into your application quickly.
API reference
Understand every REST endpoint and parameter available to your application.
Check docsHealthcare teams ship faster on Paubox
"Using Paubox Email API for our system notifications saves our customers time, saves them trouble, and gives them more information."

"The ease of implementation was really, really helpful. And is still helpful today because we were able to prototype and release new features easily."

Frequently asked questions
Everything you need to know about sending HIPAA compliant email with Python.
Yes. The Paubox Python SDK is the official client library for the Paubox Email API. It sends HIPAA compliant transactional email and works in any Python application.
Run pip3 install paubox-python3, then set your Paubox API credentials as environment variables. See the Python quickstart for the full setup.
Python 3.
Install the SDK, configure your Paubox API credentials, build a message with your recipients, subject, and content, then call the send method. Most teams send their first message in minutes. See the Python quickstart for a complete example.
Yes. The SDK is a standard Python package, so it drops into Django, Flask, and FastAPI. You call it the same way from anywhere in your Python code.
Yes. Every plan includes a signed business associate agreement (BAA) and enforces transport layer security (TLS) 1.2 or higher by default, so messages are compliant out of the box.
Yes. A business associate agreement (BAA) comes with every plan, including the free tier, so you can send protected health information (PHI) from your Python app without signing a separate agreement.
Yes. The SDK supports single sends, bulk sends, and reusable dynamic templates. Store a personalized template once and render it at send time with per-recipient values.
smtplib sends email but does not make you HIPAA compliant on its own. With Paubox you get a BAA and HIPAA compliant infrastructure, and you can either use the Python SDK or keep smtplib and point it at the Paubox SMTP relay.
You can send 300 emails per month for free, BAA included. Paid plans scale from there to millions of messages. See the pricing page for current tiers.
Send 300 emails per month, free
Integrate HIPAA compliant email in minutes. Easy for recipients to read, available in 10 SDK languages.
