The template library

Ready-made layouts for the mail every product sends: responsive HTML with plain-text twins and simple {{ variables }}. Import them into any server with one command, then edit in the dashboard.

Import the library

terminal
# 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 …

Each template ships as JSON (name, subject, html_body, text_body) in templates/library/ of the repository. The import script is ~20 lines of curl, so read it before you trust it.

All 20 templates

Account lifecycle

Welcome & getting started

welcome

Verify your email address

email-verification

Passwordless sign-in link

magic-link

Account deletion confirmation

account-deletion

Security

Password reset link

password-reset

Password changed notice

password-changed

One-time security code

two-factor-code

New device sign-in alert

new-device-login

Collaboration

Team / workspace invitation

team-invitation

You were mentioned

mention-notification

New reply to your thread

comment-reply

Commerce

Order confirmation

order-confirmation

Payment receipt

payment-receipt

Payment failed (dunning)

payment-failed

Refund processed

refund-processed

Renewal reminder

subscription-renewal

Cancellation confirmation

subscription-cancelled

Trial ending reminder

trial-ending

Order shipped + tracking

shipping-notification

Product

Your data export is ready

data-export-ready

Variables and control flow are covered in template syntax; the endpoints (create, update, render-preview, archive) in the templates API.