Templates
Reusable email templates with variable interpolation.
Templates let you design an email once in the dashboard and send it repeatedly with different variables.
typescript
await plunk.emails.send({
to: "user@example.com",
template: "tpl_welcome",
data: { firstName: "Ada" },
});Inside the template editor, reference variables with {{firstName}} syntax. Unresolved variables render as an empty string.