Skip to content
HALOWERK

Bildwerk

email html compat

Parses the HTML (htmlparser2) and its CSS (postcss for <style> blocks, own parser for style attributes, css-what for selectors) and maps what it finds to 304 of the 306 detectable caniemail features: elements and attributes, input and button types, mailto and anchor links, comments and doctype, CSS properties and selected values (display:flex/grid/none, flex-direction:column, system-ui fonts), at-rules and media features (prefers-color-scheme and others), selector types and combinators,.

POST https://bild.halowerk.com/v1/email-html-compat

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
htmlstringYesThe HTML of the email.
clientsarrayNocaniemail client families, e.g. gmail, outlook, apple-mail, yahoo, gmx, web-de, t-online-de; default: the 10 most common plus German webmail.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "html"
  ],
  "properties": {
    "html": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "The HTML of the email."
    },
    "clients": {
      "type": "array",
      "minItems": 1,
      "maxItems": 30,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "pattern": "^[a-z0-9-]{2,30}$"
      },
      "description": "caniemail client families, e.g. gmail, outlook, apple-mail, yahoo, gmx, web-de, t-online-de; default: the 10 most common plus German webmail."
    }
  }
}

Open original schema

Published input example

{
  "html": "<!DOCTYPE html><html><head><style>@media (prefers-color-scheme: dark){.x{color:#fff}}</style></head><body><div style=\"display:flex;gap:8px\"><img src=\"logo.webp\" alt=\"\"></div></body></html>",
  "clients": [
    "gmail",
    "outlook",
    "apple-mail"
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →