Templates

Templates that fill themselves in.

Write a template once with placeholders, then send it with template_id and your variables. Edit in a block editor with a live preview, start from a gallery design, and send a test to your own inbox.

Templates, live preview and test sends are on every plan.
Placeholders, filled inSample data

Template

Hi {{clientName}}, invoice {{invoiceId}} for {{amount}} is ready.

Variables sent with the email

clientName: Pat · invoiceId: 1042 · amount: $150.00

What the recipient reads

Hi Pat, invoice 1042 for $150.00 is ready.

From template to inbox.

  1. 1

    Write or pick

    Start a blank template or open a gallery design.

  2. 2

    Save

    Each save of an existing template adds one to its version number.

  3. 3

    Send

    Call the send API with template_id and template_variables, or send from the app.

  4. 4

    Render

    PostFrame fills in the template on the server when the email is dispatched.

Which template languages does PostFrame support?

Handlebars, with a fixed set of helpers (eq, neq, gt, lt, and, or, not, uppercase, lowercase, truncate, formatDate). Through the API a template can also be stored as React Email, where you write JSX that PostFrame compiles and renders in a restricted environment.

How do I use a template when sending?

Pass template_id and a template_variables object on the send call. PostFrame renders the subject and body on the server when the email is dispatched.

Can I roll back a template?

PostFrame keeps the version number, not the previous body. Duplicate a template before a large edit if you want a safe copy to return to.

How do I test a template before it goes live?

Save it, click Send Test in the editor and enter an address. It goes out through your provider with a [TEST] subject prefix. A broadcast test is different: it is simulated and not delivered to an inbox.

Run your business from one place.

Five plans, 25 launch apps, one dashboard. Change tiers any time.

From $0 · Basic $9.95/mo · Upgrade or downgrade any time