Skip to content
Email Development

How to Test HTML Email Templates: Checklist and Tools

How to test HTML email templates: a checklist of test cases, free code checks, preview tools, real test sends, and what each method can and can't catch.

Keshur Gojiya

7 min read

How to Test HTML Email Templates: Checklist and Tools

To test HTML email templates properly, work in three layers: check the code first, then look at the email in the clients your subscribers actually use, then click through a real test send from your email platform. Code checks catch unsupported CSS and missing alt text in seconds, preview tools show how the layout renders in dozens of clients, and real test emails are the only way to confirm that links, tracking and personalisation work. No single method catches everything, so I use all three, in that order.

What to test in an HTML email: a checklist of test cases

I run these test cases on every template:

  • Rendering in your readers' clients: classic Outlook for Windows, new Outlook and Outlook.com, Gmail on the web and in its Android and iOS apps, Apple Mail on iPhone and Mac, and Yahoo Mail.
  • Mobile widths: columns stack on a narrow phone, text is readable without zooming, and buttons are big enough to tap.
  • Dark mode: the logo, text and buttons stay visible when Apple Mail, Outlook or the Gmail apps switch to dark colours.
  • Images off: classic Outlook blocks external pictures by default, so the email must still make sense with alt text and background colours alone.
  • Links and tracking: every link opens the right page, tracking parameters are present, and the unsubscribe link works.
  • Subject line and preheader: the preview text in the inbox list is the line you wrote, not "View in browser" or leftover template text.
  • Size and Gmail clipping: Gmail clips emails whose HTML is larger than about 102 KB and hides the rest behind a "View entire message" link, often taking the unsubscribe link with it.
  • Accessibility: a lang attribute, role="presentation" on layout tables, real text instead of text inside images, readable contrast, and link text that makes sense on its own.
  • Personalisation: merge tags fill in correctly, empty fields fall back to something sensible ("Hi there", not "Hi ,"), and conditional blocks show the right version to each segment.
  • Plain-text version, if your platform sends one: readable, with the links included.

How to test HTML email templates, step by step

1. Run free code checks first

Code problems are the cheapest to find, so start there. Paste your HTML into the free HTML email checker. It flags CSS that classic Outlook or Gmail ignore (flexbox, grid, positioning, CSS variables, background images without VML), images missing alt text, width or https, scripts, forms and external stylesheets, plus accessibility basics and Gmail's clipping size.

Two Gmail rules are worth knowing because they fail silently. According to Google's documentation, a single CSS syntax error makes Gmail discard the whole <style> block, and if your style blocks together pass 16,384 characters, Gmail drops the block that crosses the limit and every block after it. Either way, the email is left with its inline styles only.

A code check reads the markup; it can't show you what an inbox will display.

2. Preview the email in many clients at once

Rendering-preview services open your HTML in real and emulated email clients and return screenshots within minutes. The best-known are Litmus and Mailgun Inspect, the successor to Email on Acid. Both advertise previews in more than 100 clients and devices, including dark mode, plus extra checks such as links and accessibility. Some email platforms build previews in: Mailchimp's Inbox Preview and HubSpot's email client previews are both powered by Litmus, with a limited number of previews depending on your plan.

Screenshots are excellent at catching layout problems: gaps and broken columns in classic Outlook, fonts falling back, columns that don't stack on mobile, and colours that change in dark mode.

What they can't do: each screenshot is a still image of one configuration of one client. You can't interact with it, and it won't show how your email platform processes merge tags unless the preview is generated from inside the platform.

3. Send real test emails to seed accounts

Seed accounts are inboxes you own at each major provider. I keep Gmail, Outlook.com, Yahoo and iCloud addresses, plus a Microsoft 365 work account opened in classic Outlook on Windows, and the Gmail and Outlook apps on both an iPhone and an Android phone. To test email in Yahoo Mail, check it in a desktop browser and in the Yahoo Mail app, because they don't always match.

Two habits make test sends trustworthy:

  • Send from your email platform, never by forwarding or pasting. Google documents that pasting HTML into the Gmail compose window removes the <head> and <style> blocks, and that forwarded or quoted messages lose their style blocks too.
  • Test the Gmail app with a non-Google account if your readers use one, such as a work Exchange or IMAP address added to the Gmail app. Gmail removes <style> blocks and media queries there and keeps only inline styles, so a responsive layout may not respond.

Real sends confirm what screenshots can't: the subject line and preheader in the inbox list, the sender name, images loading from your server over https, links rewritten for tracking, and any code your platform adds on the way out. The limit is coverage: you only see the devices you own, and one seed inbox says little about deliverability across your list.

4. Check personalisation inside your email platform

Most email platforms let you preview a message as a specific contact. Preview it as one contact with every field filled in and one with empty fields, then send a test to a small internal segment so merge tags, conditional content and the unsubscribe link run through the real sending path.

Preview testing vs functional testing

Preview testing answers "does the email look right?": layout, fonts, images, mobile stacking and dark mode in each client. Screenshot services and seed inboxes cover it.

Functional testing answers "does the email work?": links, tracking parameters, unsubscribe and preference links, merge tags and fallbacks, conditional content, the plain-text part, the reply-to address and any interactive parts. Real sends and your platform's own preview tools cover it best.

A pixel-perfect email with a broken unsubscribe link is still a broken email. When I build HTML email templates for clients, every template goes through both, in the order above, before delivery.

Which email clients should you test in?

Start with your own data. Many email platforms report opens by email client or device, so test every client with a meaningful share. Read Apple Mail figures with care: Apple's Mail Privacy Protection loads images in the background, which can count as an open whether or not anyone read the email.

Always include classic Outlook for Windows, even if its share looks small. It renders HTML with Microsoft Word and breaks more layouts than any other client, and Microsoft has committed to supporting it until at least 2029. Test new Outlook for Windows separately: it is built on the same web technology as Outlook.com and renders very differently from the classic version.

FAQ

Is there a free HTML email tester?

Yes, for the code. A code checker flags unsupported CSS, missing alt text and size problems, and test sends to your own accounts cost nothing but time. Screenshots from dozens of clients at once need a preview service or the previews in your email platform's plan.

How do I test dark mode in an email?

Turn on dark mode on your phone and computer, then open your test sends in Apple Mail, Outlook and the Gmail apps. Each handles it differently: Google says the Gmail apps adjust email colours automatically, while Gmail on the web shows email bodies on a light background by default. Dark-mode screenshots from a preview service make a quick first pass.

Is an email template validator the same as a W3C validator?

No. Email HTML uses old attributes such as width and bgcolor on purpose, so a strict validator reports errors that are correct for email, while perfectly valid HTML can still break in Outlook. An email-specific checker looks for what actually breaks in email clients.

Do I need to retest every campaign?

Test a new template thoroughly once. For each campaign built from it, run a shorter check: links, merge tags, subject and preheader, images and size. Retest fully whenever the layout or code changes.

Key takeaways

  • Test in layers: code check first, then screenshots, then real sends from your email platform.
  • Screenshots catch layout and dark-mode problems; real sends from your platform prove that links, tracking and merge tags work.
  • Never test by forwarding an email or pasting HTML into Gmail, because both strip the styles you are trying to test.
  • Always include classic Outlook for Windows, the Gmail apps and Apple Mail, whatever else your audience uses.

Tags

  • HTML Email
  • Email Templates
  • Best Practices
  • Email Development

About Keshur Gojiya

Web developer and HTML email specialist with 6+ years of experience, building websites and emails for businesses, startups and agencies.

Get to know me
Keep Reading
View All Articles
  • Email Development

    7 min read

    Images and Fonts in HTML Email: Best Practices

    Best practices for images and fonts in HTML email: safe formats, retina sizing, alt text, which clients load web fonts, and the Outlook Times New Roman fix.

    • HTML Email
    • Email Development
    Keshur Gojiya
  • Email Development

    7 min read

    Dark Mode HTML Email: How to Code, Design and Test

    A dark mode HTML email guide: how Apple Mail, Gmail and Outlook recolour emails, the meta tags and CSS that work, and how to design and test for both modes.

    • HTML Email
    • Dark Mode
    Keshur Gojiya
  • Email Development

    6 min read

    CSS Support in Email Clients: What Works Where

    CSS support in email clients explained: what Gmail, Outlook and Apple Mail keep, why Gmail drops your CSS, and the fallbacks that keep layouts intact.

    • HTML Email
    • CSS
    Keshur Gojiya

Need help with an email or website?

If an email is breaking in Outlook or dark mode, or you have a design that needs building, tell me about it and I’ll reply with next steps.

Email me