Battle-tested layouts for the mail every product sends — responsive
HTML with plain-text twins, using simple
{{ variables }}. Import them into any
server with one command, then edit in the dashboard.
# clone the library into your mail server: git clone https://github.com/camelmailer/camelmailer cd camelmailer ./templates/import.sh https://mail.yourdomain.com $SERVER_API_KEY # then send with any of them: curl -X POST https://mail.yourdomain.com/api/v2/server/messages/with_template \ -H "X-Server-API-Key: $SERVER_API_KEY" -H "Content-Type: application/json" \ -d '{"from":"hi@yourdomain.com","to":["a@b.com"], "template":"welcome","template_model":{"name":"Ada","product":"Acme","action_url":"https://app.acme.com"}}'
welcome
email-verification
magic-link
password-reset
password-changed
two-factor-code
new-device-login
account-deletion
team-invitation
mention-notification
comment-reply
order-confirmation
payment-receipt
payment-failed
refund-processed
subscription-renewal
subscription-cancelled
trial-ending
shipping-notification
data-export-ready
Each template ships as JSON (name,
subject, html_body,
text_body) in
templates/library/.
The import script is ~20 lines of curl — read it, then trust it.