Email Signature Generator
Professional HTML email signature builder with Outlook-compliant table structures, dark mode protection logic, and embedded base64 assets.
About
Standard web design practices fail in the email environment. While modern browsers utilize Flexbox and Grid, email clients like Outlook for Windows rely on the Microsoft Word rendering engine, which only supports HTML3.2-era table structures. This tool solves the fragmentation problem by generating rigid, nested table hierarchies that force consistent layout behavior across 90+ email clients.
A critical failure point in modern branding is Dark Mode. When a recipient's device inverts color luminance, transparent PNG logos often disappear against the dark background. This generator implements a specific luminance_check logic, offering an automated "Safe Container" that preserves branding integrity without requiring separate assets. The output is a single, self-contained HTML block, sanitized of scripts and external stylesheets, ready for immediate deployment.
Formulas
To ensure the signature does not break the reading pane on mobile devices while maintaining structure on desktops, we calculate the maximum container width Wmax. For Outlook, this must be defined in absolute points (pt) or pixels (px), not percentages.
The contrast ratio CR for text legibility in Dark Mode is determined by the relative luminance L of the foreground and background colors. If the client inverts Lbg, the perceived contrast changes.
Our "Dark Mode Fix" applies a wrapper with a defined border-radius r and padding p to the logo image I to ensure Lbg remains high (white) locally around the brand mark.
Reference Data
| Client / Feature | Render Engine | Flex/Grid | Background Images | Data URI (Base64) | Style Tag <style> | Media Queries |
|---|---|---|---|---|---|---|
| Outlook (Win) | Word | FALSE | FALSE (Requires VML) | FALSE | FALSE | FALSE |
| Apple Mail | WebKit | TRUE | TRUE | TRUE | TRUE | TRUE |
| Gmail (Web) | Gecko/Blink | FALSE | TRUE | FALSE (Blobs only) | TRUE | TRUE |
| Gmail (Android) | Android Native | FALSE | TRUE | FALSE | FALSE | TRUE |
| Outlook (Mac) | WebKit | TRUE | TRUE | TRUE | TRUE | TRUE |
| Samsung Email | Android Native | TRUE | TRUE | TRUE | TRUE | TRUE |
| Yahoo! Mail | Blink | FALSE | TRUE | FALSE | TRUE | TRUE |
| Thunderbird | Gecko | TRUE | TRUE | TRUE | TRUE | TRUE |