Templates

Templates that look great everywhere

Design once, send with confidence. PostedApi templates adapt to every major inbox and are honest about errors — problems surface long before your customers see them.

Responsive email template previews
Responsive

Responsive by default

Email clients are a carnival of quirks, and your templates shouldn't have to care. Every PostedApi template adapts to the screen it lands on, and each starter has been poked, prodded and pixel-checked in the inboxes people really use.

  • Tested on Gmail, Outlook and Apple Mail
  • Layouts that adapt from desktop down to phones
  • Dark-mode friendly colors and images
See the starter templates
receipt.html
<!-- rendered with your JSON before it ships -->
<html>
  <body>
    <h1>Thanks, {{name}}!</h1>

    {{#if discount}}
    <p>You saved {{discount}} with code {{code}}.</p>
    {{/if}}

    <ul>
      {{#each items}}
      <li>{{name}} — {{price}}</li>
      {{/each}}
    </ul>

    <a href="{{order_url}}">View your order</a>
  </body>
</html>
Template language

A template language that fails loudly

Most template engines quietly render a blank when something is wrong. PostedApi complains instead: preview any template against sample JSON, and a missing variable or a malformed block stops the send with a clear error — never a half-empty email in a customer's inbox.

  • Mustache-style {{name}} variables for names, totals and links
  • if and for blocks for conditional and repeated content
  • Preview with real JSON data before anything ships
  • Validation errors returned before a single email is sent
Getting started

Three ways to a working template

Start from ours, bring your own, or let the whole team pitch in. Whichever route you pick, you'll be sending before lunch.

Starter templates

Welcome notes, password resets, receipts and invoices — polished, responsive starting points you can ship today and restyle to match your brand.

Import your own

Paste your existing HTML and we'll check the syntax, flag rendering risks and help you turn dynamic spots into template variables.

A team-friendly editor

A visual, no-code editor lets support and marketing tweak copy safely, while developers keep control of the layout and the data behind it.

The starting lineup

Four starters you'll actually ship

Hand-tuned and battle-tested across the big inboxes. Copy one, swap in your logo and colors, and call it a day.

Welcome email template

Welcome

A warm first hello with a single, obvious next step.

Receipt email template

Receipt

Order lines, totals and a thank-you readable in one glance.

Password reset email template

Password reset

Calm, clear and impossible to misread on a tiny screen.

Invoice email template

Invoice

Itemized and professional, with payment status up top.

Stop fighting email markup

Start from a starter template, plug in your data, and send something beautiful before your coffee cools. The Starter plan is ready when you are.