49 Html Email Template Global 标志

49 Html Email Template Global

社区
minhnv0807
49-html-email-template-global

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`.

概览

发布者minhnv0807
代码仓库ai-business-skills
技能名称49-html-email-template-global
星标数
612
复刻数
228
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 minhnv0807 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 49 Html Email Template Global AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/minhnv0807/ai-business-skills/tree/master/skills/en/49-html-email-template-global
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/minhnv0807/ai-business-skills.git /tmp/ai-business-skills
mkdir -p .claude/skills
cp -r /tmp/ai-business-skills/skills/en/49-html-email-template-global .claude/skills/49-html-email-template-global
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 49 Html Email Template Global,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 49 Html Email Template Global。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 49 Html Email Template Global 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

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

Related skills

  • 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

常见问题

49 Html Email Template Global AI 技能有什么作用?

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 w...

为什么在 TypingMind 中使用 49 Html Email Template Global?

因为您只需安装一次,就能搭配任何模型使用。49 Html Email Template Global 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 49 Html Email Template Global?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/minhnv0807/ai-business-skills/tree/master/skills/en/49-html-email-template-global。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 49 Html Email Template Global?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

49 Html Email Template Global 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 49 Html Email Template Global 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

49 Html Email Template Global AI 技能免费吗?

是的。minhnv0807 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇