Skip to main content

Our email CSS engine is open source. Give it a star on GitHub 

Emailens

Marketing template · MJML (MIT) · 8.8 KB compiled

Refer a Friend Invite

Works in 21 of 21 · worst: Outlook Classic, 88

Adapted from the MJML templates (MIT). Scores from @emailens/engine 0.19.3.

The checker needs a computer screen.

Download HTML Download .mjml Open raw HTML

Live preview

Live: the template's HTML as shipped, rendered by your browser. Scroll inside it.

All 21 clients, lowest first

Score out of 100 per client. A client counts as working at 80 or more, the checker's rule.

ClientScore
Outlook Classic 88
Outlook for Mac 88
Yahoo Mail iOS 88
Gmail 91
Gmail Android 91
Gmail iOS 91
Outlook 365 91
Outlook (New) 91
Outlook iOS 91
Outlook Android 91
Yahoo Mail 91
Yahoo Mail Android 91
Proton Mail 91
AOL Mail 91
Fastmail 94
Apple Mail iOS 97
Samsung Mail 97
Thunderbird 97
HEY Mail 97
Superhuman 97
Apple Mail 100

What the engine still flags

No error-level finding. The points below 100 come from 174 lower-severity warnings.

Notes on this template

It opens: "Hey {{FirstName}}! Are you enjoying our weekly newsletter? Then why not share it with your friends? You'll get a 15% discount on your next order when a friend uses the code {{ReferalCode}}! Refer a friend now Best, The {{CompanyName}} Team...". Links: "Refer a friend now". 1 image, 11 Outlook-only blocks, no dark-mode query, web font.

The spread is what matters on this template: 100 in Apple Mail against 88 in Outlook Classic, a 12-point gap across the same file. 1 of the 21 clients render it without a single flagged property. Outlook Classic is the one to preview against after any edit, because it is where this template has the least margin, and the 174 warnings behind that score are concentrated there rather than spread evenly.

At 8.8KB compiled it has roughly 93KB of headroom before Gmail clips the message at 102KB and hides the rest behind a "View entire message" link. Inlined CSS and base64 images both count toward that, so watch it as you add sections.

Safe to customise: Imagery, colour and section order. This is the one category where restructuring is expected, and the per-client table on this page is how you check the restructure survived.

Leave alone: The image widths declared as HTML attributes as well as CSS. Outlook reads the attribute and ignores the stylesheet, so an image sized only in CSS renders at its natural pixel width and blows the layout out sideways.

Your next question

Also useful: What works in Outlook Classic · Why Outlook ignores CSS · @media · Outlook ghost tables · MJML guide · All marketing templates

Check your version

Edited it? Paste your version into the checker before you send it.

The checker needs a computer screen.

A free account opens all 21 clients and keeps your checks for 7 days. Create a free account →

Get new email CSS fixes by email.

Adapted from the official MJML email-templates repository under the MIT License (© Mailjet / Sinch). The .mjml source is included.

@emailens/engine 0.19.3 · data last changed 10 Nov 2026