The same HTML email in Outlook 2021: on the left with errors (a white line between rows, an overflowing image and unstyled links) and on the right fixed with the documentation

01Challenge

Different code in every email and errors in every client

Coding an HTML email is nothing like coding a website: Outlook renders with the Word engine, Gmail strips styles, and every client interprets the code its own way. So each new piece, or each legacy send that had to be repaired, took hours of troubleshooting and bulletproof components validated one by one in Litmus or Email on Acid, which are expensive and slow tools.

On top of that, every developer wrote in their own style. Fixing someone else's campaign meant deciphering someone else's code, and the result was pieces with no visual or technical consistency, no shared naming and no brand coherence.

Three stacked layers representing the pillars of the documentation: master template, best practices and copy-ready components

02Solution

A single standard for coding every email

The documentation works as onboarding for new developers and as a guide at every stage of building an email. It is organized around three pillars:

  • Master template. A base file pasted at the start of any project that removes duplicated classes, recurring errors and repeated code. Before, mixed styles produced overlapping classes, Outlook broke the layout and reviews ate up hours.
  • Dos and don'ts. It gathers the right usage for each email client, accessibility checks, bug cleanup, special characters and a pre-send checklist.
  • Tested components. 30+ components, from headers and heroes to cards, buttons and footers, validated in the main email clients. They are copied and pasted to keep visual coherence and cut down on errors to fix later.

With a solid foundation, the team gains time to propose visual and functional ideas that used to be left out because of deadlines, and everyone's code stays clean and uniform.

03Product

Documentation with live preview and copy-ready code

A single reference page with a side menu split into workflow, components and resources. Each component shows its compatibility by client, a table of editable variables, a live preview and the code to copy. An automated script checks that every piece meets the system's 11 rules and that documentation and code never drift apart.

A component card from the documentation with four parts highlighted: compatibility, variables, preview and code
A component card: compatibility, variables, preview and code.

04Visuals

A wireframe language any brand can adopt

Components are delivered in a neutral gray palette, with a 12-to-32 px type scale and a 4 px grid. Since it is a brandless skeleton, a few color and typography changes are enough to adapt it to any campaign without losing the structure.

Wall with the 30+ email components of the library

05Results

A faster flow with fewer errors

The team adapted within a week, and since then everyone uses, maintains and updates the documentation so it keeps growing with the project. It streamlined the design, creation, implementation, orchestration and sending stages: the area stopped being a bottleneck and improved its metrics on two fronts:

of email creation time
-4 hrs
of testing time
-95%

More projects