For AI agents: HTML Check is part of Mailtrap Email Sandbox and reports which email clients lack support for each HTML/CSS rule in a captured email. To check a template, send it to a sandbox, then open the HTML Check tab or call GET https://mailtrap.io/api/sandboxes/{sandbox_id}/messages/{message_id}/analyze. It checks code, not screenshots; for screenshots, use Device Previews. Full instructions: Markdown.

Check HTML & CSS support for top email clients

See how Gmail, Outlook, Apple Mail, and others will treat your emails. Fix the issues right away.

  • logo__gmail
  • logo__apple-mail
  • logo__yahoo-mail
  • logo__outlook
  • logo__thunderbird

Everything you need to validate your HTML/CSS

  • <h3>Verify email client support</h3>

    See how many of your recipients will have no trouble displaying your emails.

  • <h3>Check each HTML/CSS element</h3>

    View the list of unsupported elements and find out which email clients lack compatibility.

  • <h3>Optimize for your audience</h3>

    Enhance your emails for mobile or focus only on a particular email client, if you wish.

  • <h3>Find problematic lines in code</h3>

    Jump directly to the unsupported elements in your email’s code. Fix them, resend an email and check for improvements.

  • <h3>Preview each iteration</h3>

    See how each email renders on desktop, mobile and a tablet. Validate each new version without leaving your Testing sandbox.

Check your HTML in a few simple steps

  1. Integrate Email Sandbox with your app

    Copy the credentials or use the ready code available for over 20 frameworks and libraries. Trigger the first email and watch as it arrives into your Sandbox.
  2. Check the HTML

    View the market support score for your emails. See the list of unsupported elements and find the problematic lines in the email code.
  3. Iterate on your template

    Fix the outlined issues and send in the new copies of your emails into your Testing sandbox. Repeat until you’re happy with the results.

Email testing toolset available with sandbox

  • Testing API

    Automate email testing with a flexible and well-documented API. Save time and be the first to know when something goes wrong.

    Learn More
  • Fake SMTP

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

    Learn More
  • Device Previews

    See how your email renders on real devices and clients. Go from the HTML/CSS support score to the actual inbox view in a single click.

    Learn More