ZapSMTP / Templates

Email templates you can actually ship.

Find a starting point for your next receipt, confirmation, sign-in, or newsletter. Customize it visually or in code, then send it from your application.

Browsing and previews are open to everyone. Saving, editing and sending a template takes a free account. Previews show Halden Outfitters, a fictional store: demo data.

The gallery’s real HTML, as the editor renders it, filled with Halden’s order, subscription and sign-in data.

From Halden <news@haldenoutfitters.com>, subject Confirm your subscription to The Trail Journal. A double opt-in email: Sofia confirms her subscription to The Trail Journal with one button, named confirm_subscription. Your application records the consent when it handles the click.
Plain-text version
ONE CLICK AND YOU ARE IN

Hi Sofia, please confirm that you want to receive The Trail Journal: one email a month, our best stories, no spam ever.

Yes, subscribe me: https://haldenoutfitters.com/subscribe/confirm?token=7Qx2Lm

Didn't sign up? Ignore this email and you won't hear from us again.

Facebook: https://facebook.com/
Instagram: https://instagram.com/
X: https://x.com/
LinkedIn: https://linkedin.com/

Halden · 1 Market Street, San Francisco, CA 94105

You are receiving this email because you signed up at Halden. Unsubscribe (#)

Sent with (https://zapsmtp.com/?utm_source=zapsmtp_email&utm_medium=email&utm_campaign=sent_with_zapsmtp&utm_content=confirm-subscription)https://zapsmtp.com/?utm_source=zapsmtp_email&utm_medium=email&utm_campaign=sent_with_zapsmtp&utm_content=confirm-subscription
From Halden Outfitters <orders@haldenoutfitters.com>, subject Order H-20512 confirmed. Order H-20512 confirmed for Sofia: a Ridgeline 40L backpack ($149.00) and Cascade trail runners ($129.00), total $278.00, free shipping to Portland, with a View your order button.
Plain-text version
ORDER H-20512

THANKS FOR YOUR ORDER, Sofia!

We're getting your order ready to ship. We'll email you again as soon as it's on its way.

View your order: https://haldenoutfitters.com/orders/H-20512

or visit our store (https://haldenoutfitters.com)

----------

ORDER SUMMARY

Ridgeline 40L backpack × 1

$149.00

Cascade trail runners × 1

$129.00

----------

Subtotal

$278.00

Shipping

$0.00

Taxes

$0.00

----------

Total

$278.00

----------

SHIPPING TO

14 Alder Lane, Portland, OR 97205

Questions? Reply to this email or visit our help centre (https://haldenoutfitters.com/help).

Halden · 1 Market Street, San Francisco, CA 94105

You are receiving this email because you placed order H-20512 with Halden.

Sent with (https://zapsmtp.com/?utm_source=zapsmtp_email&utm_medium=email&utm_campaign=sent_with_zapsmtp&utm_content=order-confirmation)https://zapsmtp.com/?utm_source=zapsmtp_email&utm_medium=email&utm_campaign=sent_with_zapsmtp&utm_content=order-confirmation
From Halden <security@haldenoutfitters.com>, subject 482 913 is your Halden sign-in code. A one-time sign-in code, 482 913, valid once for 10 minutes, with the device and place of the request. Your application generates and verifies the code; ZapSMTP delivers the email.
Plain-text version
YOUR SIGN-IN CODE

Hi Sofia, enter this code to finish signing in. It works once, for 10 minutes.

482 913

Requested from Safari on iPhone in Portland, US at 9:41 AM.

Didn't try to sign in? Ignore this email and secure your account (https://haldenoutfitters.com/security): nobody can sign in without this code.

Halden · 1 Market Street, San Francisco, CA 94105

You are receiving this email about your Halden account.

Sent with (https://zapsmtp.com/?utm_source=zapsmtp_email&utm_medium=email&utm_campaign=sent_with_zapsmtp&utm_content=sign-in-code)https://zapsmtp.com/?utm_source=zapsmtp_email&utm_medium=email&utm_campaign=sent_with_zapsmtp&utm_content=sign-in-code

Edit visually. Or write the HTML.

The visual editor builds a template from rows and blocks: headings, text, images, buttons, tables, social links, countdown timers and custom HTML, with desktop and mobile views as you go. The code editor takes your own HTML with variables and renders a live preview beside it.

  • Visual or code. Each template belongs to the editor it was made in; the templates list shows which.
  • Name the buttons. Any button or link can carry a click action, such as confirm_subscription, that arrives with its email.clicked webhook.
  • Preview before you publish. Desktop, phone, dark mode and plain text, with your sample variables.

Variables, versions, and one ID to send.

  • Typed variables. The catalogue lists every variable your templates use, with its type: text, list, URL or date. A send that leaves out a template variable fails with an error instead of going out.
  • Global variables. Company name, support address or a season’s promo code, set once for every template.
  • Versions. Drafts never reach your users: sends use the published version. The last 50 saved versions can be previewed and restored.

Templates and variables guide

Node.js · send by template ID · SDK publishing soon
import { ZapSMTP } from 'zapsmtp';

const zap = new ZapSMTP(); // reads ZAP_API_KEY, on your server

await zap.emails.send({
  from: 'Halden <security@haldenoutfitters.com>',
  to: 'sofia.marin@example.com',
  template: {
    id: 'sign-in-code',
    variables: {
      name: 'Sofia',
      code: '482 913',
      expires_in: '10 minutes',
      device: 'Safari on iPhone',
      location: 'Portland, US',
      time: '9:41 AM',
    },
  },
});

Good to know.

  • On every plan. The gallery, both editors and sending by template are part of Free too: 3,000 emails/month · 100/day · No credit card required.
  • Responsive, with dark mode. Every gallery design adapts to phones and supports dark mode. Email clients still differ: send a test to the inboxes your customers use before a big send.
  • Design here, data from your application. The template stores the design; your application supplies the values with each send. Sent content is kept for your plan’s log retention.

Pick a template. Send it today.

Open a template in the editor, publish it, and send it by ID.

Start for free Read the editor guide 3,000 emails/month · 100/day · No credit card required
Email preview