Skip to main content

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

Emailens
For Maizzle

Maizzle builds the HTML.
21 clients rewrite it.

Build your .vue or .md email with Maizzle, then lint the HTML it writes. Emailens tells you what Outlook, Gmail and 19 other clients will do to it. Runs locally. No account.

bash
# Maizzle 6 builds .vue and .md templates to dist/
npx maizzle build
npx emailens lint 'dist/**/*.html'

What a Tailwind max-w container looks like in real Outlook

Outlook on Windows ignores max-width on a div. Here is what happens without an MSO table or Maizzle's <Outlook> wrapper.

Outlook Classic

caniemail: max-width is partly supported in Outlook Classic.

More versions (2)

Partial. Only works on <table> elements.

Outlook 365

caniemail: max-width works in Outlook 365.

This Outlook.com install drops the <style> in the head, so only inline styles apply.

Every account includes one free real-device check in classic Outlook and Apple Mail, after you verify your email and run one preview, while this month's free capacity lasts. How real-device checks work →

Findings with a client, a line, and a reason

This is an excerpt of the output for a Maizzle 6 template using Vue components and Tailwind classes. The command exits non-zero when it finds an error.

text
dist/welcome.html
  error          spam                                                 missing-unsubscribe  No unsubscribe link found; required by CAN-SPAM and GDPR.
  warn   10:106  outlook-windows,outlook-windows-legacy               max-width            Outlook only honours max-width on a table.
  warn   14:51   outlook-windows,outlook-windows-legacy,yahoo-mail+3  gap                  Outlook (New) does not support "gap".
  warn   10:124  outlook-windows,outlook-windows-legacy+1             border-radius        Outlook (New) does not support "border-radius".

The gap between your preview and the inbox

Maizzle inlines supported Tailwind utilities and ships email-safe components. Custom utilities written like web CSS can still fail in Outlook or other clients. Emailens catches the gaps in the built HTML before you send.

max-w-[600px]

Outlook only honours max-width on a table it actually reads. On a div, the card runs the full width of the window unless wrapped in an MSO table or Maizzle's <Outlook> component.

gap-4 / space-y-4

Not supported in Outlook on Windows, Yahoo Mail and several others. The space between items disappears unless converted to cell padding.

rounded-xl, p-8

Outlook on Windows drops border-radius, and keeps padding on table cells only.

The email as a whole

Missing unsubscribe link, missing physical address, low contrast in dark mode: the things spam filters and readers notice.

Block the pull request that breaks Outlook

Build with your normal Maizzle 6 pipeline, then lint the HTML. No API key, no quota, no network call to Emailens.

One thing to get right: lint the build, not the source

bash
# Maizzle 6 writes to dist/ by default.
# If output.path is set in maizzle.config.ts, use that instead.
npx emailens lint 'dist/**/*.html'

A source template compiled on its own has no project around it: no Tailwind config, layouts, or project components. For the actual result, lint the HTML written by your Maizzle build.

GitHub Actions

email-lint.yml
# .github/workflows/email-lint.yml
name: Email lint
on:
  pull_request:
    paths: ["emails/**"]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 22
      - run: npm ci
      - run: npx maizzle build
      - run: npx emailens lint 'dist/**/*.html'

Your AI writes the email. Emailens checks it.

Add the MCP server and Claude Code or Cursor can lint the template it just wrote, read the findings, and fix them before you review the diff.

$ claude mcp add emailens -- npx -y @emailens/mcp

Common questions

Does Emailens replace Maizzle? +

No. Maizzle is how you write and build the email. Emailens checks the HTML it produces against 21 email clients. You keep your templates, your Tailwind config, and your sending provider.

Do I need an account or an API key? +

No. The CLI runs the open-source @emailens/engine on your machine or your CI runner. There is no quota and nothing is uploaded. An account is only needed for hosted screenshots, share links, and the REST API.

Can I lint a source template directly? +

Only a self-contained template. Direct compilation accepts Maizzle 5 HTML or a Maizzle 6 Vue single-file component (.vue); it does not load your project's config, layouts, or components. For Markdown templates or a real project, lint the HTML from your Maizzle build.

Does Emailens support Maizzle 5? +

Yes. The CLI compiles legacy Maizzle 5 HTML and self-contained Maizzle 6 Vue single-file components. Maizzle 6 Markdown templates are supported through the normal build; lint the generated HTML for project-accurate output.

Are the suggested fixes written for Maizzle? +

In the hosted preview and the engine, yes. Fixes preserve Maizzle format: table-cell spacing and MSO conditionals for legacy templates, or Maizzle 6 components such as <Outlook> for Vue templates.

How is the score calculated? +

Each client gets a score from 0 to 100. The headline score is the worst client, not an average, because an email that renders in twenty clients and breaks in Outlook is a broken email.

Lint your next template

Runs locally. No signup required.

$ npx maizzle build && npx emailens lint 'dist/**/*.html'

Using something else? Lint HTML email templates or Lint React Email templates or Lint MJML templates