Automate your email testing with Testing API

Cover your code with tests and validate if emails are sent. Test multiple variables at a time.

Email Testing API has everything you need to test your emails

Verify hundreds of variables, at once

Complex workflows call for comprehensive solutions. Test any number of unique emails in a matter of seconds.

Inspect unmodified emails

Raw headers are visible for each email you send. Validate each and easily catch any inconsistencies.

Quickly integrate with your CI

Our API works seamlessly with any WebCI and features an extensive documentation. There’s hardly any learning curve.

Run automated, daily checks

Save time by letting API handle the dull checks of your emails. Be the first to know if any issues occur.

Test on any environment, including production

With features such as bcc tracking or individual email per inbox, you can monitor live emails with ease.

Dig into the contents of your emails

Verifying if emails are sent is just the first step. Check their spam score, validate the headers, HTML, and a lot more.

Trusted by 150,000+ monthly active users

How devs use Testing API

  • Integrate your app with Mailtrap SMTP and API

    Copy the credentials or grab the ready code available in the inbox settings. Send the first email to fake SMTP server.

  • Run a check in your CI

    Use API to validate if an email was indeed sent. Check automatically any other details – headers, attachments, links, etc.

  • Expand your tests

    Set up recurring checks and use API to access other Testing features – spam score, HTML check, bcc tracking, and more.

Email testing toolset available with sandbox

HTML Checker

Validate the HTML/CSS rules included in your emails template. Gauge the support across popular clients – on web, mobile, and desktop.

Learn More

QA Automation

Build automated tests of your email sequences and include them in your testing suite. Verify each component of a message with Testing API.

Learn More

Fake SMTP

Test email sending from your project and view each email sent in your Testing inbox. Never send a thing to recipients’ inboxes.

Learn More