Skill Detail

Inline CSS into HTML emails before delivery across mail clients with Juice

Use Juice when an agent already has finished HTML and needs it transformed into email-safe output before sending, archiving, or handing off to another system. The skill inlines stylesheet rules into element style attributes so downstream mail clients and embedded contexts keep the intended presentation without manual cleanup.

Calendar, Email & ProductivityCustom Agents
Calendar, Email & Productivity Custom Agents Security Reviewed
⭐ 3.2k GitHub stars ⬇ 2.4M/wk npm
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill inline-css-into-html-emails-before-delivery-across-mail-clients-juice Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Node.js
Install & setup
npm install juice
Author
Automattic
Publisher
Organization
Last updated
Apr 12, 2026
Quick brief

Tool: Juice is an open source Node.js package from Automattic that inlines CSS stylesheets into HTML. This skill turns that capability into a narrow agent workflow: take an existing HTML email or embeddable fragment, resolve the stylesheet rules that matter, and emit a version that is much safer to send through mail clients or third-party renderers that ignore head-level CSS.

How it works

What this skill actually does

What the agent does: it receives HTML plus CSS, runs Juice, and returns transformed HTML with the important styling moved into inline style attributes. That is useful when an agent is preparing campaign emails, transactional notifications, generated reports, or archived email copies for systems that strip or inconsistently apply normal stylesheets.

When to use it: invoke this instead of using the tool as a generic package listing when the agent’s job is specifically to harden already-authored HTML for email delivery or constrained embedding. The trigger is not β€œI need an email framework.” The trigger is β€œI already have HTML and need the CSS inlined before I ship it.”

Scope boundary: this is not an email design system, template authoring framework, or sending platform. It does not write the copy, choose recipients, or manage campaigns. It only converts stylesheet-driven HTML into inline-styled output.

Integration points: Node.js pipelines, CMS export flows, notification workers, email preview checks, and post-processing steps after template rendering. Upstream evidence is strong: official GitHub repo, npm package, MIT license, tagged releases, and active maintenance.