renderer-mail-html
Enterprise Part of the commercial Kumiko Enterprise offering — not in the open framework.
A renderer-foundation plugin that handles RenderRequest { kind: "mail-html" } and returns { html, text } suitable for sending via channel-email. The pipeline: Handlebars variable substitution → marked Markdown-to-HTML → injection into an MJML layout → mjml() compiles to email-safe table HTML, with html-to-text producing the plain-text alternative. The MJML layout resolves through template-resolver’s 4-stage DB fallback and finally the in-code DEFAULT_MAIL_LAYOUT_MJML default — tenants override it by upserting a "mail-layout" template (seed an editable system default with seedSystemMailLayout(db)). Requires renderer-foundation + template-resolver.
Dependencies
Section titled “Dependencies”- Requires:
renderer-foundation,template-resolver - Activation: always on (not toggleable)
Extensions & cross-feature APIs
Section titled “Extensions & cross-feature APIs”- Registers extension:
renderer→mail-html