Agent skill

49 HTML Email Template Global

by minhnv0807 in minhnv0807/ai-business-skills

A skill your agent uses when responsive HTML email has to render correctly in every client — table-based structure, inline CSS, 600px max width, dark mode handling, quirks for Gmail, Apple Mail…

MITAuto-check passedFrontend & Design

Install 49 HTML Email Template Global

skills CLI
$ npx skills add minhnv0807/ai-business-skills --skill 49-html-email-template-global -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install minhnv0807/ai-business-skills 49-html-email-template-global --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/minhnv0807/ai-business-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/en/49-html-email-template-global .claude/skills/49-html-email-template-global && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
49-html-email-template-global
GitHub stars
609
Token cost
~2.6k tokens
SKILL.md length
1,156 words
Files
1
Skills in repo
142
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when responsive HTML email has to render correctly in every client — table-based structure, inline CSS, 600px max width, dark mode handling, quirks for Gmail, Apple Mail…

  • Works in 5 steps: Choose the layout → Build to the technical spec → Fill the sections → …
  • Responsive HTML email has to render correctly in every client — table-based structure
  • SKILL.md covers Information gathering, Principles, Workflow and Email client matrix, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

49 HTML Email Template Global is an agent skill from minhnv0807/ai-business-skills. Use when responsive HTML email has to render correctly in every client — table-based structure, inline CSS, 600px max width, dark mode handling, quirks for Gmail, Apple Mail, Outlook and Yahoo, bulletproof buttons, and a pre-send test checklist, shipping a self-contained .html file to paste into Klaviyo, Mailchimp, HubSpot, or Brevo. Trigger on 'HTML email', 'code an email template', 'responsive email', 'why does my email break in Outlook', 'email dark mode is broken', 'the newsletter looks wrong on mobile'. Not…

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Email marketing, Transactional email and Theming and dark mode. It works with Gmail, HubSpot, Mailchimp and Microsoft Outlook. The repository describes itself as: 138 bilingual AI marketing skills (69 VN + 69 Global) for Claude Code, OpenCode, Codex, VS Code. Four role SOP packs — content, design, performance, leader ops — plus strategy… The licence is MIT.

When your agent uses it

  • Responsive HTML email has to render correctly in every client — table-based structure
  • 600px max width
  • Dark mode handling
  • Quirks for Gmail

Example prompts

  • “HTML email”
  • “code an email template”
  • “responsive email”
  • “/49-html-email-template-global”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Choose the layout
  2. Build to the technical spec
  3. Fill the sections
  4. Handle mobile and dark mode
  5. Fill the required placeholders

What it can do on your machine

Read from SKILL.md and the folder at commit 0360adc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are css).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

49 HTML Email Template Global loads about 2.6k tokens when it runs. Until then it costs about 182 tokens; SKILL.md has 1,156 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~182
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from minhnv0807/ai-business-skills at commit 0360adc, republished under its MIT licence (© minhnv0807). 1,156 words, ~2,556 tokens.

Download SKILL.mdSave it as .claude/skills/49-html-email-template-global/SKILL.md (or your agent's skills folder).
name
49-html-email-template-global
description
Use when responsive HTML email has to render correctly in every client — table-based structure, inline CSS, 600px max width, dark mode handling, quirks for Gmail, Apple Mail, Outlook and Yahoo, bulletproof buttons, and a pre-send test checklist, shipping a self-contained .html file to paste into Klaviyo, Mailchimp, HubSpot, or Brevo. Trigger on 'HTML email', 'code an email template', 'responsive email', 'why does my email break in Outlook', 'email dark mode is broken', 'the newsletter looks wrong on mobile'. Not for — sequence strategy and subject lines, see `14-email-marketing-global`; a web page, see `12-landing-page-brief-global`; brand colors and fonts, see `46-brand-guideline-global`.
metadata.version
1.0.1
metadata.category
operations
license
MIT
triggers
HTML email, code an email, email template, responsive email, email broadcast HTML, why does my email break in Outlook, email dark mode
output
A single self-contained .html file — paste it into the ESP (Klaviyo, Mailchimp, HubSpot, Brevo) and send. Ships with a client test checklist.
related
product-marketing-context-global, 14-email-marketing-global, 46-brand-guideline-global, 47-design-review-global, 12-landing-page-brief-global

HTML Email Template (Global)

Email HTML is not web HTML: it needs table layout, inline CSS, and avoidance of everything clients do not support. The bar is simple — it looks right in Gmail, Apple Mail, Outlook, and Yahoo, and it reads on a 375px phone. No exceptions. Content and sequence come from 14-email-marketing-global; this skill handles the code.

Information gathering

Read the brand guideline (46-brand-guideline-global) and the email content from 14-email-marketing-global if available. If information is missing, ask up to 4 questions:

  1. Email type and layout? Welcome, broadcast, nurture, offer, or transactional — single column, two columns with a product image, or a multi-section newsletter?
  2. Which sections? Header, hero, body, social proof, CTA, footer — is there a hero image?
  3. Is the copy written? Or should the template ship with placeholders? Where does the primary CTA link?
  4. Which ESP sends it? Klaviyo, Mailchimp, HubSpot, Brevo, Braze, or other — merge tag syntax differs per platform.

Principles

  1. Table layout only — no div/flexbox/grid/float/position:absolute. Outlook on Windows renders through the Word engine and does not support them.
  2. Inline all CSS. Gmail can strip <style> blocks; keep only media queries and dark-mode rules in <style>, and inline everything else.
  3. 600px maximum width, degrading to 375px.
  4. System-font fallbacks: '[body font]', Arial, Helvetica, sans-serif. Never depend on a web font — many clients will not load it.
  5. Every img needs alt text plus width and height attributes so a blocked-image inbox still reads correctly.
  6. Unsubscribe link and a physical postal address are legally required (CAN-SPAM in the US, GDPR and PECR in the EU/UK, CASL in Canada). Honor opt-outs promptly.
  7. Test on mobile first. The majority of opens are on a phone.
  8. One self-contained .html file, under 100KB — Gmail clips messages past roughly 102KB.

Workflow

1. Choose the layout
LayoutUse for
Single columnBroadcast, nurture — most readable, fewest rendering bugs
Two column (image + text)Offer emails with a product image
Multi-section newsletterDigest, updates — one table block per section
2. Build to the technical spec
Container: 600px desktop / 100% mobile
Outer background: light neutral (e.g. #F4F4F4)
Body background: [background color] (usually white)
Font: '[body font]', Arial, Helvetica, sans-serif
Body font-size: 16px / line-height: 1.6
Mobile breakpoint: max-width 480px

Design tokens come from the brand guideline:

  • Header: ground [primary color], reversed logo, padding 20px.
  • Hero: ground [primary color] or a gradient from [primary color] to [secondary color]; headline bold 28px in a light fill; subtext 16px; CTA button.
  • Body: light ground, padding 40x48px desktop / 24x20px mobile; H2 bold 22px in [strong text color]; body 16px, line-height 1.7.
  • CTA button: ground [primary color], bold 16px light text, padding 14x32px, radius 8px, display:inline-block, no underline. Outlook Windows will not draw border-radius — accept the square fallback, and never use an image as the button.
  • Social proof: quote on [light background color], 4px left border in [primary color], attributed name and role.
  • Footer: light neutral ground, 13px [muted text color] — small logo around 80px, website and social links, postal address, unsubscribe, copyright.
3. Fill the sections
  • Header: logo, centered.
  • Hero: optional preheader text, headline (max 60 characters), subtext (max 100 characters), CTA button, optional hero image 600x300 with alt text.
  • Body: greeting with a merge tag, 2-3 opening sentences, main content in short paragraphs (max four sentences), bulleted content built as table rows rather than ul for safer rendering, optional secondary CTA.
  • Footer (mandatory): company postal address, unsubscribe line ("You are receiving this because you signed up at [website] | Unsubscribe"), copyright.
4. Handle mobile and dark mode
css
@media only screen and (max-width: 480px) {
  /* container: 100% width */
  /* body font: 15px */
  /* CTA: full width, centered */
  /* padding: 24px 20px */
  /* images: 100% width */
}

Dark mode:

  • Add <meta name="color-scheme" content="light dark"> and <meta name="supported-color-schemes" content="light dark">.
  • @media (prefers-color-scheme: dark) is only partially supported: Apple Mail honors it well; Gmail typically applies its own color inversion and ignores the media query; Outlook may force a full invert.
  • Safe rules when dark mode cannot be controlled: use a transparent-background PNG logo that reads on both light and dark grounds (or add a light stroke); never use pure black text on a transparent ground; give important blocks such as the CTA a solid background color; test in at least one dark-mode client before sending.
5. Fill the required placeholders
  • First-name merge tag — syntax depends on the ESP
  • Unsubscribe link — legally required
  • Company postal address — must be real
  • Primary CTA link — real URL with UTM parameters per 14-email-marketing-global
ESPFirst-name merge tagUnsubscribe
Klaviyo{{ first_name|default:"there" }}{% unsubscribe %}
Mailchimp*|FNAME|**|UNSUB|*
HubSpot{{ contact.firstname }}injected automatically
Brevo{{ contact.FIRSTNAME }}{{ unsubscribe }}

Always confirm the exact syntax in the sending platform before the final send — an unrendered merge tag in a live send is a visible error.

Show full SKILL.md (431 more words)Show less

Email client matrix

ClientRendering behaviorWhat to do about it
Gmail (web and app)May strip <style> in some contexts; applies its own dark-mode inversionInline everything; the single-column layout must read even if media queries are dropped
Apple Mail (macOS/iOS)WebKit — the most capable rendererSupports media queries and prefers-color-scheme properly; use it as the dark-mode reference
Outlook desktop (Windows)Word rendering engineTables only; no border-radius, unreliable background images (use solid colors); test separately
Outlook.com / new OutlookChromium-based, much better than desktopStill avoid flex and grid for consistency with desktop
Outlook mobile (iOS/Android)Reasonable modern renderingVerify CTA tap targets at 44px minimum height
Yahoo Mail / AOLDecent support, varies by buildSend a real test to a live account
Mobile in general375px screensBody font 15px or larger, CTA at least 44px tall for thumbs

Measurement note

Apple Mail Privacy Protection pre-fetches tracking pixels, which inflates reported open rates for any list with a meaningful Apple Mail share — and Gmail image proxying adds noise of its own. Treat open rate as a directional signal only. Judge template and campaign performance on click-through rate, click-to-open rate, and conversions. Global email medians for context: open 22-27%, CTR 2.5-3.5%, CTOR 10-14%, unsubscribe below 0.5%.

Pre-send test checklist

  • Gmail desktop and Gmail mobile app
  • Apple Mail on iPhone
  • Outlook desktop on Windows (if the list skews corporate)
  • Yahoo or another webmail account
  • Dark-mode preview in at least one client
  • Every link works — especially the CTA and the unsubscribe
  • Alt text on every image; the email still makes sense with images blocked
  • HTML file under 100KB (avoids Gmail clipping)
  • Merge tags use the sending platform's syntax and render correctly
  • Real seed send to 2-3 different inboxes before the list send
  • Subject line and preheader filled in (from 14-email-marketing-global)
  • Postal address and unsubscribe present and accurate
  • 14-email-marketing-global: strategy, sequence, content, and subject lines — written before the code.
  • 46-brand-guideline-global: colors, fonts, and logo for the email design tokens.
  • 47-design-review-global: review the email before sending (brand, readability, CTA, platform fit).
  • 12-landing-page-brief-global: the CTA usually lands on a landing page — keep the message consistent across both.

Quality checklist

  • Table layout, no flexbox, grid, float, or absolute positioning
  • All CSS inline except media queries and dark-mode rules
  • 600px width, degrading to 375px without breaking
  • System font fallbacks, no dependency on web fonts
  • CTA button is solid, at least 44px tall on mobile, not an image
  • Footer carries postal address, unsubscribe, and copyright
  • Dark-mode meta tags added and the safe rules applied
  • Full test checklist executed before sending
  • One self-contained .html file, under 100KB

© minhnv0807, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/en/49-html-email-template-global of minhnv0807/ai-business-skills.

Open the folder on GitHubat commit 0360adc

Compare with similar skills

49 HTML Email Template Global next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

49 HTML Email Template Global compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
49 HTML Email Template Global this skillminhnv0807/ai-business-skills609—~2.6kAutomated safety check: PassMIT
EmailAgriciDaniel/claude-email130—~2kAutomated safety check: NotesMIT
Afa Emailafadtc/afa-dtc-skills168—~2.1kAutomated safety check: PassCustom licence
Brand SystemsHermeticOrmus/LibreUIUX-Claude-Code112—~2.3kAutomated safety check: PassMIT
Creating Streamlit Themesiusztinpaul/designing-real-world-ai-agents-workshop512—~3.7kAutomated safety check: PassApache-2.0
Email WriteAgriciDaniel/claude-email130—~2.8kAutomated safety check: PassMIT

Similar skills

  • Email

    AgriciDaniel/claude-email

    Comprehensive email management and marketing for any business type.

    130 GitHub stars~2k tokensUpdated 4 mo ago
    Marketing & SEOAuto-check: notes
  • Afa Email

    afadtc/afa-dtc-skills

    DTC 邮件营销——自动化流、Campaign 文案、可交付性、Gmail/Yahoo 发件人合规、Apple 摘要。触发词: 邮件营销, email, 弃单挽回, 邮件自动化, 打开率, 可交付性, 欢迎流, email marketing, email flows, welcome flow, open rate, deliverability, abandoned cart…

    168 GitHub stars~2.1k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Brand Systems

    HermeticOrmus/LibreUIUX-Claude-Code

    Brand identity building blocks: positioning, personality, archetypes, logo systems, color palettes, type pairing, voice, and guidelines documentation.

    112 GitHub stars~2.3k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Creating Streamlit Themes

    iusztinpaul/designing-real-world-ai-agents-workshop

    Creating and customizing Streamlit themes. An agent skill from iusztinpaul/designing-real-world-ai-agents-workshop.

    512 GitHub stars~3.7k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Email Write

    AgriciDaniel/claude-email

    Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps).

    130 GitHub stars~2.8k tokensUpdated 4 mo ago
    Writing & ContentAuto-check passed
  • Email Marketing

    sanqiufong/slides-from-anything

    A brand product-launch email — masthead with wordmark, hero image block, headline lockup with skewed-italic accent, body copy, primary CTA, and a specifications grid.

    132 GitHub starsUsed in 1 repo~861 tokens
    Marketing & SEOAuto-check passed

More from minhnv0807/ai-business-skills

All 142 skills in this repo
  • Design Master

    minhnv0807/ai-business-skills

    Handles eight kinds of marketing visual requests, from logos and campaign key visuals to infographics and quote graphics, by generating images or writing paste-ready prompts.

    609 GitHub stars~4.6k tokensUpdated 28 days ago
    Auto-check passed
  • Offer Design

    minhnv0807/ai-business-skills

    Designs or repairs what a business sells, covering the promise, value stack, bonuses, guarantee, honest scarcity and a tiered ladder, rather than price or copy.

    609 GitHub stars~1.1k tokensUpdated 28 days ago
    Auto-check passed
  • Global SEO Growth

    minhnv0807/ai-business-skills

    Covers six SEO layers for a website: crawl and index audit, local SEO, search-intent content, AI search visibility, schema markup and backlink or directory distribution.

    609 GitHub stars~5k tokensUpdated 28 days ago
    Auto-check passed
  • B2B Lead Generation

    minhnv0807/ai-business-skills

    Plans B2B pipeline work from ICP definition and prospecting through lead scoring, outbound sequences, sales assets and MQL to SQL handoff, aiming at qualified pipeline.

    609 GitHub stars~1.2k tokensUpdated 28 days ago
    Auto-check passed
  • Community Seeding Plan

    minhnv0807/ai-business-skills

    Plans honest participation in outside communities such as Reddit, Discord and Facebook Groups, with a rules-based community list, roster, posts, replies and calendar.

    609 GitHub stars~3.2k tokensUpdated 28 days ago
    Auto-check passed
  • Ad Conversion Tracking Setup

    minhnv0807/ai-business-skills

    Sets up and verifies conversion tracking before ad spend: Meta Pixel and CAPI, Google Ads, GA4, TikTok, server-side GTM, consent mode, UTMs and a pre-launch checklist.

    609 GitHub stars~3.7k tokensUpdated 28 days ago
    Auto-check passed

Questions about 49 HTML Email Template Global

What does 49 HTML Email Template Global do?

A skill your agent uses when responsive HTML email has to render correctly in every client — table-based structure, inline CSS, 600px max width, dark mode handling, quirks for Gmail, Apple Mail…. 49 HTML Email Template Global is an agent skill from minhnv0807/ai-business-skills.html file to paste into Klaviyo, Mailchimp, HubSpot, or Brevo.

When should I use 49 HTML Email Template Global?

49 HTML Email Template Global fits situations like: responsive HTML email has to render correctly in every client — table-based structure; 600px max width; dark mode handling; quirks for Gmail.

How do I install 49 HTML Email Template Global in Claude Code?

Run `npx skills add minhnv0807/ai-business-skills --skill 49-html-email-template-global -a claude-code`. Or copy the skill folder (skills/en/49-html-email-template-global in minhnv0807/ai-business-skills) into .claude/skills/49-html-email-template-global in your project. Claude Code loads it when a task matches its description.

How do I install 49 HTML Email Template Global in Codex?

Run `npx skills add minhnv0807/ai-business-skills --skill 49-html-email-template-global -a codex`. Or copy the skill folder (skills/en/49-html-email-template-global in minhnv0807/ai-business-skills) into .agents/skills/49-html-email-template-global in your project. Codex loads it when a task matches its description.

Can I use 49 HTML Email Template Global in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add minhnv0807/ai-business-skills --skill 49-html-email-template-global -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/49-html-email-template-global, .gemini/skills/49-html-email-template-global, .github/skills/49-html-email-template-global and .opencode/skills/49-html-email-template-global in your project.

What does 49 HTML Email Template Global need to run?

SKILL.md names no scripts, command-line tools or credentials: 49 HTML Email Template Global is instructions for the agent only.

Does 49 HTML Email Template Global access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 49 HTML Email Template Global safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 49 HTML Email Template Global use?

49 HTML Email Template Global is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 49 HTML Email Template Global use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to 49 HTML Email Template Global?

Skills that share tags, products or a category with 49 HTML Email Template Global: Email (AgriciDaniel/claude-email, 130 stars), Afa Email (afadtc/afa-dtc-skills, 168 stars), Brand Systems (HermeticOrmus/LibreUIUX-Claude-Code, 112 stars) and Creating Streamlit Themes (iusztinpaul/designing-real-world-ai-agents-workshop, 512 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 49 HTML Email Template Global?

minhnv0807 (a GitHub user) maintains it in minhnv0807/ai-business-skills, which has 609 GitHub stars. The repository holds 142 skills in this directory. The repository was last updated on September 12, 2026.

Source: minhnv0807/ai-business-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.