
Order shipped
A shipping notice with the order number, carrier and delivery estimate in a details table.
A trial reminder that says what actually happens on the last day.

Your {{productName}} trial ends {{endDate}}
Your trial ends {{endDate}}
You have {{daysLeft}} days left on your {{productName}} trial.
{{whatHappensNext}}
Choose a plan [{{actionUrl}}]
Not the right time? Doing nothing is a valid answer. You can come back whenever.
{{footerNote}}Shown with sample values. The HTML and plain-text tabs keep the placeholders.
About
Send it a few days before a trial ends. It gives the end date and the days left, explains in one line what happens to the account afterwards, and makes doing nothing an acceptable answer.
Values
Required values have to come with every send. The rest fall back to the default shown here.
| Placeholder | Kind | Required | Default |
|---|---|---|---|
{{productName}} | Text | Required | None |
{{endDate}} | Text | Required | None |
{{daysLeft}} | Text | Optional | 3 |
{{whatHappensNext}} | Text | Optional | Your account stays open and your data is kept. You just lose the paid features until you choose a plan. |
{{actionUrl}} | Link | Required | None |
{{footerNote}} | Text | Optional | You are receiving this because you started a trial. |
API
Create a template from this design once, then send it with the values for each message.
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({ name: 'Trial ending', starter: 'trial-ending', publish: true,}) const sent = await openemail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { productName: 'Northwind', endDate: '4 October', actionUrl: 'https://example.com/billing', },}) console.log(sent.id, sent.status)Orders and billing

A shipping notice with the order number, carrier and delivery estimate in a details table.

A dispatch notice with the carrier, a tracking number set in mono and the delivery address.

An order confirmation with up to three line items and a total.

A receipt with the amount charged, what it was for, the card used and a link to the invoice.

An invoice notice with the number, issue date, due date and amount due.

Advance notice of a renewal, with the plan, the date and the amount.

A declined charge, with the amount, the card, the retry date and what happens next.
Start 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.
Email infrastructure for businesses, AI, agents and personal email. Built for scale, privacy and control. Everything email should have had from day one.