
Order shipped
A shipping notice with the order number, carrier and delivery estimate in a details table.
6 stylesAn invoice notice with the number, issue date, due date and amount due.

Invoice {{invoiceNumber}} from {{merchantName}}
Invoice {{invoiceNumber}}
From {{merchantName}}. Due {{dueDate}}.
Invoice
{{invoiceNumber}}
Issued
{{issueDate}}
Due
{{dueDate}}
Amount due
{{amountDue}}
View and pay [{{actionUrl}}]
Already paid? Then this crossed with your payment and no action is needed.
{{footerNote}}Shown with sample values. The HTML and plain-text tabs keep the placeholders.
About
Send it when an invoice is issued. The number, dates and amount due sit in a simple table with one button to view and pay, and the closing line covers a payment that crossed with the email.
8 values to fill
Required values have to come with every send. The rest fall back to the default shown here.
| Placeholder | Kind | Required | Default |
|---|---|---|---|
{{merchantName}} | Text | Required | None |
{{invoiceNumber}} | Text | Required | None |
{{issueDate}} | Text | Required | None |
{{dueDate}} | Text | Required | None |
{{amountDue}} | Text | Required | None |
{{actionUrl}} | Link | Required | None |
{{footerNote}} | Text | Optional | You are receiving this because you have an account with us. |
{{unsubscribeUrl}} | Link | Optional | None |
API
Create a template from this design once, then send it with the values for each message.
import { init, nextmail } from '@nextmail/sdk' init({ apiKey: process.env.NEXTMAIL_API_KEY }) await nextmail.templates.create({ name: 'Invoice', slug: 'invoice', starter: 'invoice', publish: true,}) const sent = await nextmail.templates.send('invoice', { from: 'Northwind <[email protected]>', to: '[email protected]', props: { merchantName: 'Northwind', invoiceNumber: 'INV-2026-0412', issueDate: '1 October 2026', dueDate: '15 October 2026', amountDue: '£1,240.00', actionUrl: 'https://example.com/invoices/INV-2026-0412', },}) console.log(sent.id, sent.status)Orders and billing

A shipping notice with the order number, carrier and delivery estimate in a details table.
6 styles
A dispatch notice with the carrier, a tracking number set in mono and the delivery address.
6 styles
An order confirmation with up to three line items and a total.
6 styles
A receipt with the amount charged, what it was for, the card used and a link to the invoice.
6 stylesStart from one
Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.
Fifteen minutes on video with the people who build Nextmail. Free, at a time you choose.