49-html-email-template

Generates self-contained HTML email files with table layouts and inline CSS for cross-client rendering.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HTML emails break across clients because Gmail strips style tags, Outlook renders with the Word engine, and mobile screens demand responsive layouts. This Skill produces a single self-contained .html file that renders correctly on Gmail, Outlook, Apple Mail, and 375px mobile screens.

Core Features & Use Cases

  • Client-safe code generation: Builds table-based layouts with fully inline CSS, 600px width, system font fallbacks, and dark mode meta tags.
  • Client-specific specs: Covers rendering quirks for Gmail, Outlook desktop, Apple Mail, and mobile apps, plus a pre-send test checklist.
  • Use Case: A marketer has email copy from a campaign plan and needs a broadcast template. The Skill outputs one .html file under 100KB with merge tags like {{first_name}} and {{unsubscribe_link}}, ready to paste into Brevo, Mailchimp, or GetResponse.

Quick Start

Ask the AI to code an HTML email template for your campaign, specifying the layout type, sections, brand colors, and the sending tool you use.

Frequently Asked Questions about 49-html-email-template

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?

Outlook desktop renders emails with the Word engine, so use table-based layouts only and avoid flexbox, grid, float, and position:absolute. Inline all CSS, use solid background colors instead of background images, and accept square buttons since border-radius is unsupported.

What width should an HTML email template be?

HTML emails should use a maximum container width of 600px on desktop and scale down to 100% on mobile screens around 375px. Use a media query with a 480px breakpoint to adjust padding, font sizes, and full-width CTA buttons.

Why does my HTML email break in Gmail?

Gmail can strip style tags in some contexts, so all CSS must be inlined on each element rather than placed in a style block. Media queries may also be ignored, so a single-column layout must remain readable without them.

Does dark mode work in HTML emails?

Dark mode support is partial: Apple Mail honors prefers-color-scheme media queries, but Gmail often auto-inverts colors and ignores them. Use solid background colors on key sections, transparent PNG logos with sufficient contrast, and test on at least one dark mode client.

What is legally required in a marketing email footer?

Marketing emails must include a working unsubscribe link and the company's physical address in the footer. The template reserves merge tags like {{unsubscribe_link}} and placeholders for the company address, adjusted to the sending tool's syntax.