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.
npx skills add agentskillexchange/skills --skill inline-css-into-html-emails-before-delivery-across-mail-clients-juice
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.
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.