@radzor/email-template
Render email templates with variable interpolation using Handlebars-style syntax. Register reusable templates, render to HTML and plain text with data binding, conditionals, and loops.
Emailv0.1.0typescriptpythonServeremailtemplatehandlebarshtmlrenderingtransactionalby Radzor
Install
View source on GitHub →$npx radzor@latest add email-template
⚠ Constraints: No external dependencies — uses a built-in Handlebars-compatible engine. Templates must be registered before rendering. Supports {{var}}, {{#if}}, {{#each}}, and {{#unless}} blocks. Does not support custom helpers.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| defaultFrom | string | — | Default sender address to include in rendered metadata. |
| strictMode | boolean | false | If true, throw an error when a template variable is missing from the data context. |
defaultFromstring
Default sender address to include in rendered metadata.
strictModeboolean
If true, throw an error when a template variable is missing from the data context.
default: false
Outputs
| Name | Type | Description |
|---|---|---|
| renderedHtml |