Skip to main content

The Mailosaur Python library lets you integrate email and SMS testing into your continuous integration process.

Project description

Mailosaur Python Client Library

Mailosaur lets you automate email and SMS tests, like account verification and password resets, and integrate these into your CI/CD pipeline.


pip install --upgrade mailosaur


Please see the Python client reference for the most up-to-date documentation.


from mailosaur import MailosaurClient
mailosaur = MailosaurClient("YOUR_API_KEY")

result = mailosaur.servers.list()

print("You have a server called: " + result.items[0]["name"])


You must have the following prerequisites installed:

Install all development dependencies:

pip install -r requirements.txt

The test suite requires the following environment variables to be set:

export MAILOSAUR_API_KEY=your_api_key
export MAILOSAUR_SERVER=server_id

Run all tests:


Contacting us

You can get us at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mailosaur, version 7.2.1
Filename, size File type Python version Upload date Hashes
Filename, size mailosaur-7.2.1-py2.py3-none-any.whl (23.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mailosaur-7.2.1.tar.gz (15.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page