Email Templates
Create reusable email templates with Jinja2 personalization variables.
Available template variables:
{{first_name}} {{last_name}} {{full_name}} {{company}} {{industry}} {{job_title}} {{country}} {{sender_name}} {{unsubscribe_link}} {{tracking_pixel}}GET
/email-templatesList all email templates.
POST
/email-templatesCreate a new template.
{
"name": "Cold Outreach v2",
"subject": "Quick question, {{first_name}}",
"htmlBody": "<p>Hi {{first_name}},</p><p>I noticed {{company}} is growing fast...</p>"
}GET
/email-templates/:idGet template details including full HTML body.
PUT
/email-templates/:idUpdate a template's name, subject, or HTML body.
POST
/email-templates/previewRender a template with sample data (no DB write). Used for live preview.