email-template-rendering

email-template-rendering is a skill for Claude Code, Codex from seandkendall/kiro-config. It costs 51 tokens per session (1,944 once invoked), scanned A, original, Apache-2.0.

A build process for turning HTML email templates into send-ready messages by inserting data and putting CSS styles directly on each element. It also covers template systems such as Jinja2, Mustache, and MJML.

In plain words
What is it for?
Use it to prepare transactional email templates, render variables and reusable sections, create plain-text alternatives, and test email layouts across clients.
Why use it?
Many email applications remove styles placed in a page header, which can make an email display incorrectly. Building the message with inline styles improves compatibility across email clients.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare transactional email templates, render variables and reusable sections, create plain-text alternatives, and test email layouts across clients.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seandkendall/kiro-config/email-template-rendering
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seandkendall/kiro-config --skill email-template-rendering
Clone the repo
git clone --depth 1 https://github.com/seandkendall/kiro-config

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for email-template-rendering

README.md
[![agentmods](https://agentmods.dev/badge/skills/seandkendall/kiro-config/email-template-rendering/github.svg)](https://agentmods.dev/skills/seandkendall/kiro-config/email-template-rendering)
Your own site
<a href="https://agentmods.dev/skills/seandkendall/kiro-config/email-template-rendering"><img src="https://agentmods.dev/badge/skills/seandkendall/kiro-config/email-template-rendering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for email-template-rendering

Your own site · 80×15
<a href="https://agentmods.dev/skills/seandkendall/kiro-config/email-template-rendering"><img src="https://agentmods.dev/badge/skills/seandkendall/kiro-config/email-template-rendering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,944 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01944
Opus 5.5 $0.00020 $0.00778
Sonnet 5.5 $0.00010 $0.00389
Haiku 4.5 $0.00005 $0.00194

Measured 1mo ago against content hash 63dac33bd3d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

email-template-rendering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/cognito-email-handler.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/email-template-rendering/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Email Template Rendering

Companion skill to steering/email-standards.md. Covers the build pipeline: how to take source HTML templates with <style> blocks and external partials, and produce send-ready emails with all CSS inlined.

Why You Need a Build Step

Most email clients (Outlook, Gmail clipped view, Yahoo) strip <link> and <style> tags from <head>. If your template has <style> blocks, the styles WILL be ignored by some clients. The fix is to inline every style as style="..." attributes on the elements themselves before sending.

You don't write inline CSS by hand. You author readable templates with <style> blocks and {{ placeholders }}, then run them through an inliner.

Tooling Options

Tool Language Best for Notes
Premailer Python Python projects, Lambda handlers Pure Python, parses CSS and inlines styles. pip install premailer
Juice Node Node projects, build-time inline Battle-tested, large user base. npm install juice
Maizzle Node Tailwind-CSS-style email auth Full pipeline (templates → MJML → inline). Heavier, more powerful
MJML Node CLI Component-based emails Compiles MJML markup → responsive HTML → inline. Excellent for complex layouts
AWS SES inliner n/a Doesn't exist SES does NOT inline CSS for you. You must inline before calling send_email.

For most projects deployed via this config: Premailer (Python) for Lambda handlers, Juice (Node) for frontend build pipelines.

Templating Engines

Engine When to use Syntax
Jinja2 Python Lambda handlers (e.g., Cognito CustomEmailSender). Default choice. {{ user_name }}, {% if %}, {% for %}
Mustache Logic-less templates shared across Python + Node + frontend {{ user_name }}, {{#section}}
MJML Complex multi-section emails (newsletters, plan upgrades) where you'd otherwise hand-write deeply nested tables <mj-section>, <mj-button> (compiles to inlined HTML)
SES TemplateData Pre-registered SES templates invoked via send_templated_email. Limited to {{ name }} substitution (no logic) {{ name }} only

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 197 lines · 51 tokens per session scan A 63dac33bd3d3

Subscribe to this mod's changes

email-template-rendering is a skill published in the GitHub repository seandkendall/kiro-config (10 stars, last pushed 2d ago), licensed Apache-2.0. It adds 51 tokens to every session and 1,944 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.

Related

email-template-rendering compared with skills from other repositories

email-template-rendering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
email-template-renderingseandkendall/kiro-configSkill102d agoApache-2.0A51Claude Code, Codex
aws-lambda-typescripteliecer2000/kiro-bootstrapSkill88mo agoMITA43Claude Code, Codex
aws-cdkeliecer2000/kiro-bootstrapSkill88mo agoMITA40Claude Code, Codex
aws-serverlesseliecer2000/kiro-bootstrapSkill88mo agoMITA40Claude Code, Codex
aws-terraformeliecer2000/kiro-bootstrapSkill88mo agoMITA38Claude Code, Codex
aws-architectureeliecer2000/kiro-bootstrapSkill88mo agoMITA36Claude Code, Codex
aws-lambda-pythoneliecer2000/kiro-bootstrapSkill88mo agoMITA36Claude Code, Codex