mailslurp-client
Official MailSlurp Python SDK Email API
Decision gist · record as of 2026-08-14
Yes, if you need real email addresses and email operations in Python code or tests. The package has low install friction, active maintenance, no known vulnerabilities, and a clear use case for testing and automation. The main condition is that you must have a MailSlurp account and API key; verify the service's free tier limits and pricing before committing to it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- You must obtain a MailSlurp API key by creating an account at https://app.mailslurp.com
- Low install friction with standard HTTP and date-handling dependencies.
- Package is actively maintained with a recent release.
License · maintenance · safety
(unclear)
last release 2026-03-31 (136 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 200,607 downloads/mo, #9,687 on PyPI
Alternatives
Verify before relying
pip install mailslurp-client
import mailslurp_client
configuration = mailslurp_client.Configuration()
configuration.api_key["x-api-key"] = YOUR_API_KEY
with mailslurp_client.ApiClient(configuration) as api_client:
inbox_controller = mailslurp_client.InboxControllerApi(api_client)
inbox = inbox_controller.create_inbox_with_defaults()
print(inbox.email_address)- Whether free tier API access is available or if a paid account is required to use the service
- Rate limits or quotas on email creation, sending, or receiving operations
- Data retention policies for emails and attachments stored via the API
- Whether the service provides webhook or polling mechanisms for real-time email notifications
What it is and what it does
MailSlurp is a Python SDK for an email API service that enables you to create real email addresses in code, then send and receive emails and attachments from Python applications and tests. You configure it with an API key, then use controller classes (InboxController, EmailController, WaitForController, etc.) to manage inboxes, send emails via SMTP, wait for incoming messages, and download attachments. The package wraps HTTP calls to the MailSlurp backend service, so it requires network access and an active account.
The typical workflow is: create an inbox to get a real email address, optionally configure SMTP access for that inbox, send emails through the API or SMTP, then poll or wait for incoming emails and extract their content and attachments. It's designed for test automation, temporary email scenarios, and programmatic email workflows where you need real email addresses rather than mocks.
Use it for
- Automated testing of email-dependent features in web applications or services
- Generating temporary email addresses for user registration or verification workflows
- Sending transactional emails from code without managing your own mail server
- Receiving and parsing emails in integration tests to verify email content and attachments
- Building email-driven automation or notification systems that need real email addresses
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need real email addresses and email operations in Python code or tests.
The package has low install friction, active maintenance, no known vulnerabilities, and a clear use case for testing and automation. The main condition is that you must have a MailSlurp account and API key; verify the service's free tier limits and pricing before committing to it.
Install
mailslurp-client on PyPI
Before you install
Low install friction with standard HTTP and date-handling dependencies. Package is actively maintained with a recent release.
You must obtain a MailSlurp API key by creating an account at https://app.mailslurp.com
Quickstart
pip install mailslurp-client
import mailslurp_client
configuration = mailslurp_client.Configuration()
configuration.api_key["x-api-key"] = YOUR_API_KEY
with mailslurp_client.ApiClient(configuration) as api_client:
inbox_controller = mailslurp_client.InboxControllerApi(api_client)
inbox = inbox_controller.create_inbox_with_defaults()
print(inbox.email_address)
Verify before relying
- Whether free tier API access is available or if a paid account is required to use the service
- Rate limits or quotas on email creation, sending, or receiving operations
- Data retention policies for emails and attachments stored via the API
- Whether the service provides webhook or polling mechanisms for real-time email notifications
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesurllib3sixcertifipython-dateutil |
| Maintenance | Actively maintained 136 days since the last release |
| First released | |
| Downloads | 200,607 / month, #9,687 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: mailslurp_client-17.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “create email addresses programmatically”
- mailslurp-clientMailSlurp provides a Python client for an email API service that lets…
- mailbitsProvides utilities for parsing, converting, and inspecting email…
- zerobouncesdkPython SDK for the ZeroBounce email validation and verification API,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also mailosaur · mailtrap · sparkpost · temp-mails · emails · neverbounce-sdk · imap-tools · simplegmail · mailchimp3 · linear-api