49-html-email-template-global

Generates responsive table-based HTML email templates compatible with Gmail, Outlook, Apple Mail, and Yahoo.

569|224|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/minhnv0807/ai-business-skills --skill 49-html-email-template-global
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 49-html-email-template-global
Source: https://github.com/minhnv0807/ai-business-skills/tree/main/skills/en/49-html-email-template-global
Command: npx skills add https://github.com/minhnv0807/ai-business-skills --skill 49-html-email-template-global

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HTML emails break across clients because Outlook uses the Word rendering engine, Gmail strips style blocks, and dark mode behaves inconsistently. This Skill produces a single self-contained .html file that renders correctly in every major client and on mobile, ready to paste into your ESP.

Core Features & Use Cases

  • Client-safe code generation: Builds table-only layouts with inline CSS, 600px max width, system font fallbacks, and bulletproof CTA buttons that survive Outlook, Gmail, Apple Mail, and Yahoo.
  • Dark mode and mobile handling: Adds color-scheme meta tags, a 480px media query breakpoint, and safe fallback rules so the email reads on a 375px phone and in dark-mode inboxes.
  • ESP merge tag support: Ships with correct first-name and unsubscribe merge tag syntax for Klaviyo, Mailchimp, HubSpot, and Brevo, plus a pre-send test checklist covering links, alt text, file size under 100KB, and legal footer requirements.
  • Use Case: You need a welcome email for a Klaviyo campaign. Provide your brand colors and copy, and receive one .html file with the correct {{ first_name|default:"there" }} merge tag, unsubscribe link, and postal address footer, verified against the client test checklist.

Quick Start

Ask the AI to code a responsive HTML email template for a Klaviyo welcome campaign using your brand colors, with a hero section, CTA button, and compliant footer.

Frequently Asked Questions about 49-html-email-template-global

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I code an HTML email that works in Outlook?

Use table-based layout only, since Outlook on Windows renders through the Word engine and ignores flexbox, grid, float, and absolute positioning. Inline all CSS, use solid background colors instead of images, and accept square corners because border-radius is not drawn.

What is the correct width for a responsive HTML email template?

Use a 600px maximum container width that degrades to 100% on mobile, with a media query breakpoint at 480px. Body font should be 16px on desktop and at least 15px on mobile, with CTA buttons at least 44px tall for touch targets.

Why does my HTML email break in Gmail dark mode?

Gmail applies its own color inversion and ignores the prefers-color-scheme media query, so dark mode cannot be fully controlled there. Use transparent-background PNG logos that read on both grounds, avoid pure black text on transparent backgrounds, and give key blocks like the CTA a solid background color.

Which merge tag syntax does Klaviyo use versus Mailchimp?

Klaviyo uses {{ first_name|default:"there" }} for first names and {% unsubscribe %} for opt-outs, while Mailchimp uses *|FNAME|* and *|UNSUB|*. Always confirm the exact syntax in the sending platform, since an unrendered merge tag in a live send is a visible error.

Why does Gmail clip my email and how do I prevent it?

Gmail clips messages larger than roughly 102KB, hiding content behind a 'view entire message' link. Keep the final self-contained HTML file under 100KB by inlining only necessary CSS and avoiding redundant markup.

When should I not use a custom-coded HTML email template?

This Skill covers email code only, not sequence strategy, subject lines, or copy, which belong to email marketing planning. It is also not suited for web pages, which should use a landing page workflow instead of table-based email HTML.