Create real email addresses in Python for testing and development. No need for SMTP mail servers, use MailSlurp's free email API and PyPI package to send and receive email for real inboxes. Test applications end-to-end with Robotframework, Selenium, Pytest and more. Integrates with Django, Flask, and many popular frameworks.

Installing Python library

MailSlurp python email library is available from PyPI:

Once install configure a client instance in your project using your MailSlurp API key.

Basic example

To create an email address use the inbox controller:

Get started

To get started create a free email account and read the documentation and links below: