
Outlook Email Rendering: Coding for Two Engines
Classic Outlook renders with the Word engine, new Outlook renders with a web engine. Microsoft's verified timeline, the mso toolkit, and the quirks that matter.
TL;DR: "Outlook" names a family of clients that share almost nothing at the rendering level. Classic Outlook for Windows renders with the Microsoft Word engine — no float (Microsoft's Word 2007 rendering reference lists it as unsupported) and, according to caniemail test data, no flexbox or grid; its own box model, its own quirks. New Outlook for Windows, Outlook on the web, Outlook for Mac, and the mobile apps render with web-based engines (WebKit-based for Mac and the mobile apps, according to Litmus's October 2023 guide) that behave close to a modern browser. Microsoft's own migration page keeps existing installations of classic Outlook through perpetual and subscription licensing supported until at least 2029 (as of November 2026), so the working discipline is dual-engine coexistence: conditional patches for the Word engine, written to be harmless everywhere else and checked there in testing, kept only as long as the engine they target remains in the support matrix.
Which Outlook is which
One source of "it breaks in Outlook" confusion is that the report does not say which Outlook. The name covers renderers with fundamentally different engines underneath, and a defect that means classic Outlook on Windows and one that means the iOS app lead down entirely different code paths.
| Outlook variant | Rendering engine | Practical consequence |
|---|---|---|
| Classic Outlook for Windows | Microsoft Word engine | No float, flexbox, or grid (Microsoft's Word 2007 reference for float; caniemail test data); table skeleton and conditional patches required |
| New Outlook for Windows | Web-based (Microsoft Edge WebView2, per Microsoft's overview of the new Outlook) | Renders close to a modern browser; ghost tables and VML inside mso conditional comments are expected not to render — a working hypothesis, not a documented rule |
| Outlook on the web (OWA) | Web-based | Same web-engine behavior as new Outlook |
| Outlook for Mac | Web-based (WebKit, according to Litmus's October 2023 guide) | Close to a modern browser, but not identical to new Outlook: CSS support has differed from Outlook on the web in caniemail test data |
| Outlook mobile apps (iOS / Android) | Web-based (WebKit-based, according to Litmus's October 2023 guide) | CSS support has differed from Outlook on the web in caniemail test data, so test the apps directly |
Source: variant-to-engine mapping from the Litmus Outlook rendering guide (October 2023) and, for the new Outlook, Microsoft's overview of the new Outlook for Windows (built on WebView2); the Email Markup Consortium's March 2023 analysis of the new Outlook is cited for its engine description only — the same post's October 2026 end-of-support date does not match Microsoft's migration page. Float, flexbox, and grid support per caniemail test data (last tested May 2024, November 2021, and February 2019 respectively) and, for float, Microsoft's Word 2007 rendering reference. As of November 2026 — re-verify at production time: Microsoft's migration page (last updated February 23, 2026) describes new Outlook as currently in the opt-in stage, followed by opt-out and cutover stages.
This table settles the first question in an Outlook debugging argument. Asking "which Outlook, which engine" is the first diagnostic move, before touching a single line of CSS.
The mobile apps deserve one further word of caution beyond the engine mapping. Even within the web-engine tier, the Outlook mobile apps can differ from Outlook on the web (caniemail test data have recorded different CSS support between them over time) — a defect that shows up only on iOS or only on Android is a real category, distinct from a defect that shows up in every web-engine variant uniformly. Treating "web engine" as one monolithic target for testing purposes can work for layout decisions the engines handle alike, but a support matrix that leans heavily mobile should still test the mobile apps directly rather than assuming the desktop web-engine pass covers them.
The verified timeline: coexistence, not retirement
Microsoft's published migration model is staged, not a single cutover date. The stages run opt-in, then opt-out, then a forced cutover — with at least 12 months' notice to IT administrators before opt-out (in managed Enterprise plans) and before cutover (in Production rings) — and existing installations of classic Outlook through perpetual and subscription licensing remain supported until at least 2029 (as of November 2026, Microsoft Learn). Re-verify this date directly against Microsoft's guide before relying on it for a template retirement decision, since staged rollouts are exactly the kind of commitment that shifts.
This is worth stating plainly because a specific correction is needed. Posts circulating a 2026 end-of-support date for the Word engine (including the Email Markup Consortium's March 2023 post) do not match Microsoft's migration page. That page does not name the rendering engine, but it keeps existing installations of classic Outlook, the Word-engine client, through perpetual and subscription licensing supported until at least 2029. The 2026 date lines up with the retirement date in Microsoft's lifecycle listing for Office 2021 (October 2026); the post predates Office 2024, whose lifecycle listing runs from October 2024 to October 2029 (as of November 2026). Planning a template's classic-Outlook patches around an outdated date instead of the primary source retires working code years before the audience that needs it has actually migrated.
The engineering consequence follows directly. Migration-aware coding means keeping Word-engine patches in place while making them structurally inert in the new engine — not removing them preemptively, and not adding new ones speculatively for an engine whose share of the audience can change as Microsoft's staged migration proceeds. Audience data, not headlines, decides when a given template system's support matrix actually drops the classic tier.
There is a second, quieter consequence worth naming: because the migration is staged, and in the opt-in and opt-out stages individual users can be on either version and switch back to classic Outlook if needed (for example, when certain features or workflows are not yet available), two recipients at two different companies can be on entirely different engines at the same calendar moment, with no way for a sender to know which is which ahead of a send. A template that assumes uniform migration progress across its audience is making an assumption the staged rollout does not support. A sounder planning basis is the sender's own opened-client data, tracked over time, rather than a general industry migration percentage borrowed from somewhere else.
The conditional-comment toolkit
The mso conditional comment is the domain's scoping primitive. We found no Microsoft documentation of mso conditional comments (as of November 2026); Litmus's October 2023 guide says conditional code only works on Outlook desktop clients, listing versions from Outlook 2000 (mso 9) through Outlook 2016, Outlook 2019, and the Office 365 desktop app (mso 16). Other clients are expected to treat the markup inside one as an ordinary HTML comment — for the new Outlook, which uses a web browser engine, a working hypothesis, not a documented rule.
<!--[if mso]>
<table role="presentation" width="600" cellpadding="0" cellspacing="0" border="0" style="width:600px;">
<tr><td>
<![endif]-->
<div style="max-width:600px; margin:0 auto;">
<!-- content visible to every non-Word-engine client -->
</div>
<!--[if mso]>
</td></tr></table>
<![endif]-->Alongside conditional comments, mso-prefixed CSS properties adjust Word-engine-specific behavior directly, for example line-height handling:
<p style="margin:0; mso-line-height-rule:exactly; line-height:24px;">
Body copy that needs exact, predictable line spacing in the Word engine.
</p>Both mechanisms share the property that makes them workable to accumulate: a correctly written conditional patch is designed to be inert everywhere it is not targeted, and its effect on other clients can be checked in testing. That is what keeps dual-engine coexistence maintainable over years rather than becoming a growing pile of untraceable hacks.
The quirk catalog that matters
A handful of Word-engine quirks drive template decisions that change when classic Outlook is in a support matrix.
Line-height and spacing top the list. Microsoft's Word 2007 rendering reference lists line-height as supported but does not explain how the engine computes leading; in practitioner testing (Litmus, October 2023; caniemail test data), it does not always honor declared line-height values, and both recommend mso-line-height-rule:exactly above as the correction. Margin support gaps in the same engine reinforce this topic-wide rule of building spacing from cell padding rather than margin — a rule that holds for reasons beyond Outlook alone, but Outlook is where it was learned hardest.
DPI scaling is a quirk that teams testing only at 100 percent display scaling can miss. We found no Microsoft documentation of how the Word engine handles Windows display scaling (as of November 2026); Litmus's October 2023 guide reports that at 120 DPI the desktop clients make images and text larger and that some elements are scaled up while others are not, so an image or button that measures correctly at default scaling can render out of proportion. Display scaling is a setting users can change, and in some cases it is set higher by default (Litmus, October 2023). The fix described in Litmus's October 2023 guide adds the Office XML namespace (xmlns:o="urn:schemas-microsoft-com:office:office") to the html tag, declares Office document settings (<o:AllowPNG/> and <o:PixelsPerInch>96</o:PixelsPerInch>) inside an <!--[if gte mso 9]> block before the closing head tag, and sets table widths as CSS pixel values (style="width:600px;") rather than width attributes. The samples in this topic carry both: the width attribute stays for renderers that read attributes, and the CSS pixel width that guide recommends sits alongside it — the guide's own example shows the CSS width without the attribute, so testing at an elevated scaling level is where that combination gets confirmed. The practical testing implication is worth stating directly: a QA pass that only checks classic Outlook at 100 percent scaling has not tested a known Word-engine failure mode. Testing at least one elevated scaling level should be part of any classic-Outlook pass, not an occasional spot check.
Background images have no CSS support in the layout contexts that matter to the Word engine, which is why VML fill exists as the fallback:
<!--[if mso]>
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:600px;height:200px;">
<v:fill type="tile" src="https://example.com/assets/bg.png" color="#f4f4f4" />
<v:textbox inset="0,0,0,0">
<![endif]-->
<div style="background-image:url('https://example.com/assets/bg.png'); background-color:#f4f4f4; width:600px; height:200px;">
<!-- content over background, non-mso clients -->
</div>
<!--[if mso]>
</v:textbox>
</v:rect>
<![endif]-->VML is also used to draw CTA buttons (for example, with rounded corners) in the Word engine, according to Litmus's October 2023 guide, at a real maintenance cost that deserves stating honestly: every VML artifact is duplicate markup that must be kept in sync with its non-mso counterpart by hand, indefinitely, for as long as the pattern stays in the template.
Dual-engine discipline
The patches above only stay manageable with an explicit inventory. A template documents which Word-engine patches it carries and why, so patches are removable deliberately when the matrix eventually drops the classic tier — not rediscovered by archaeology years later when nobody remembers what a given conditional block was for. A minimal inventory entry names the patch, the specific defect it addresses, the date it was added, and the condition under which it can be safely removed — for example, "when classic Outlook drops below an agreed threshold of the audience's opened-client mix." Without that last condition written down, a patch tends to survive indefinitely by default, because removing working code on a guess feels riskier than leaving it in place forever.
The new Outlook renders like the web tier by construction: Microsoft describes it as based on WebView2, with the experience provided by Outlook on the web. We found no Microsoft documentation of how it treats mso conditional comments (as of November 2026); a working hypothesis, not a documented rule, is that ghost tables and VML placed inside them reach its engine as ordinary HTML comments and are not rendered. That invisibility is the property worth verifying every time a new patch is added — a conditional comment that leaks into the new engine's rendering, through a syntax mistake, defeats the entire point of scoping it.
Testing has to span both engines for as long as the support matrix contains both. A pass in classic Outlook does not vouch for the new Outlook, and a clean render in the new Outlook says nothing about whether the classic-Outlook conditionals still fire correctly. The dual-engine reality means a genuinely dual-engine test plan, not a single Outlook checkbox in the QA pass — "tested in Outlook" is not a complete sentence in this domain until it names which engine, and increasingly, until it names both.