converting-email-templates
Installation
SKILL.md
Converting email templates
Purpose
Automatically convert email templates from other email service providers into Mailtrap-compatible Handlebars syntax. Handles both deterministic pattern conversions (via a Python script) and complex edge cases (via LLM intelligence).
Related skills: using-email-templates (Handlebars syntax, API template send), sending-emails (stream bases and auth), authorizing-api-requests (tokens, env vars, account_id resolution — needed when creating templates or sending via the Templates API after conversion).
Input
- Source provider (required):
sendgrid,mailgun,mandrill-handlebars,mandrill-mergetags,postmark,brevo, orses - Input: a single template file path, a directory of
.htmltemplate files, or raw HTML pasted inline - Output directory (optional): defaults to a
/converted/subdirectory next to the input
If the user does not specify the source provider, ask before proceeding. If the user provides template HTML inline (pasted in chat), save it to a temporary .html file first.