blog
HTML Email Preview: Test Templates Across Real Clients Before Send
Preview HTML email across Gmail, Outlook, iPhone, Android, and dark mode. Use MailSlurp device previews before campaigns and product emails launch.
An HTML email preview helps you see what a template will look like after it leaves your editor, your app, or your ESP.
That last part matters. Email HTML is not normal web HTML. Gmail, Outlook, Apple Mail, iPhone, Android, and other clients handle CSS, images, tables, dark mode, and responsive behavior differently. A template can pass a local preview and still fail when a customer opens the real email.
MailSlurp gives teams several ways to preview HTML email before launch: use the free email render test, upload HTML, import an .eml, send to a render address, or run device previews from the API.
Quick answer
Use an HTML email preview before sending any campaign, transactional email, or lifecycle message where a broken layout would create customer pain.
A good preview should answer:
- Does the HTML render correctly in Gmail and Outlook?
- Does the layout work on iPhone and Android?
- Are CTAs visible and tappable?
- Do images load, scale, and fall back correctly?
- Does dark mode preserve contrast and brand clarity?
- Is the footer, unsubscribe text, or legal content still visible?
For a fast check, start with Free email render. For a repeatable workflow, use MailSlurp device previews and send the same final email that customers would receive.
HTML email preview vs browser preview
A browser preview is useful while writing markup, but it is only the first pass.
Email clients often remove, rewrite, or ignore parts of HTML and CSS. Outlook can behave differently from Gmail. Mobile clients apply smaller viewports, image scaling, and dark mode changes. Webmail can wrap messages in its own UI. Some clients block remote images until the recipient allows them.
That is why previewing the raw HTML in a browser is not enough for final approval. The safer workflow is to preview the delivered email across real clients and devices.
HTML template, builder, and generator preview
Searches for html email template, html email builder, html email generator, and email markup usually lead to the same practical question: will this HTML still work after it is sent?
Use builders and generators to move faster, then use MailSlurp to test the output. Paste or upload the HTML while the template is still a file, send the final campaign to a render address when the ESP has added tracking and merge tags, or import an .eml when the exported message is the approval artifact.
This keeps creative work separate from release proof. The builder helps create the template; MailSlurp helps confirm that the delivered email renders correctly across Gmail, Outlook, iPhone, Android, light mode, and dark mode.
Common HTML email preview failures
Teams usually discover the same failure patterns:
- table columns break or spacing changes in Outlook
- a hero image is too wide on mobile
- dark mode changes button or logo colors
- a CTA gets pushed below the first screen
- long personalization values overflow a container
- Gmail clips a heavy message before the footer
- web fonts fall back differently than expected
- image URLs or tracking links point to the wrong environment
MailSlurp helps catch these problems while the template can still be fixed.
How to preview HTML email with MailSlurp
Choose the path that matches how your team already works.
Free email render
Use Free email render when you want a quick preview without setting up a full workflow.
MailSlurp creates a temporary render address. Send the HTML email to that address from your app, ESP, or email client. When the render is ready, you can review how it appears on real clients and devices.
HTML upload
Use HTML upload when the template is still a build artifact or a file from your design system.
Paste or upload the HTML body, select render targets, and start the preview. This is useful before the template is wired into the sending path.
.eml import
Use .eml import when the message was generated elsewhere.
Export the email from an ESP, client, staging mailbox, or QA tool. Upload the file into MailSlurp device previews and review the rendered result.
Render email address
Use a render address when campaign teams want to send from the same tool they already use.
MailSlurp can provide an address under emailondevice.com. Send the final email to that address and MailSlurp starts the preview run. Profiles can route different local parts, such as marketing or qa, to different target sets.
API-triggered preview
Use the API when the preview belongs in CI, campaign approval tooling, or release gates.
The API path works well when you want a repeatable check after every template change, before a deploy, or before a campaign approval window.
Preview checklist for HTML templates
Before sign-off, inspect:
- First screen: subject, preheader, headline, and primary CTA.
- Layout width: no horizontal scroll or clipped columns.
- Mobile stacking: columns collapse in a readable order.
- Images: correct size, useful alt text, and no broken source URLs.
- Buttons: visible in light and dark mode.
- Links: correct destination, tracking parameters, and environment.
- Footer: unsubscribe, address, and legal text remain reachable.
- Payload size: important content is not hidden by clipping.
For sizing guidance, use the email template size guide. For client behavior, use email client testing.
Previewing ESP campaigns
ESP previews can be helpful, but the final check should use the same email path that will reach customers.
Send the campaign test to a MailSlurp render address or export an .eml from the ESP and import it. This catches issues that appear after merge tags, tracking links, image URLs, and final HTML transforms are applied.
This is especially useful for:
- product launch campaigns
- sales nurture emails
- onboarding series
- webinar or event reminders
- billing and plan-change messages
- lifecycle emails with personalized content
Previewing product emails
For product email, preview the message in the context of the real workflow.
Trigger the signup, password reset, OTP, billing, or alert flow in staging. Send the received message into MailSlurp device previews, then pair the render result with inbox assertions and link checks.
That gives engineering and QA teams proof that:
- the workflow sent the right message
- the content was personalized correctly
- the CTA works
- the HTML renders correctly where customers open email
Use email integration testing when inbox assertions also need to run in CI.
When to use a free preview and when to use a full workflow
Use the free render when:
- you need a fast visual check
- one template changed
- a stakeholder wants to see the final email before launch
- you are comparing client behavior for a single message
Use a full MailSlurp workflow when:
- previews should run before every release
- multiple teams need shareable results
- render status should post to Slack or Teams
- email previews need to pair with inbox, link, audit, and deliverability checks
- API-triggered runs should block a risky change
Start with the free check, then create a MailSlurp device preview workflow when the process needs repeatability.
FAQ
What is an HTML email preview?
An HTML email preview shows how an email template renders before it is sent to customers. The best previews use real mailbox clients and devices rather than only a local browser view.
Can I preview HTML email in Gmail and Outlook?
Yes. MailSlurp device previews are built for client and device rendering review, including Gmail, Outlook, mobile, desktop, dark mode, and light mode workflows.
Should I preview the HTML file or the delivered email?
Preview both when possible. Use an HTML upload while building the template, then preview the delivered email after your app or ESP has applied tracking, personalization, images, and final markup.
Can MailSlurp fit into an ESP workflow?
Yes. Send a campaign test to a MailSlurp render address or import an .eml file. That lets the team review the final campaign output before customer delivery.