Emails
Design the emails your app sends, and the rules that decide when they go out.
Apps send email: a confirmation after an order, a welcome after a sign-up, an alert to you when something needs attention.
The Emails tab has three parts — Templates, Rules and History — and sending email is part of the paid plans.
Templates and rules#
A template is what an email looks like: its name, its subject and its body. A rule is when it is sent, to whom, and from whom.
They are separate because the same template is often sent by more than one rule, and because you'll change the wording far more often than the trigger.
Write a template#
Each template can be tied to a collection, which decides what the email can talk about. An order confirmation is tied to Orders; a welcome email to your users.
The body is HTML. You can write it, or describe what you want in the box at the bottom and have it built:
Our logo at the top, a thank-you line, a table of what they bought with the total, and the delivery address underneathBuilding a template this way spends credits and marks the template as AI-built. Describing a change to an existing body rewrites it rather than starting over.
Preview renders it with sample values. Send test mails it to you — also a credit, and worth it before any rule goes live.
Placeholders#
A template is a shape, filled in per email. A placeholder is where a value goes.
Pick the collection and its fields are listed down the side of the editor, each one a button that drops the placeholder in at your cursor — in the subject line as well as the body.
Alongside the collection's own fields are a few that are always there, so a template never has nothing to work with.
Only when there's something to show#
Placeholders have a conditional form: a block that is included only when the value inside it isn't empty. The side panel shows the exact syntax.
Rules#
A rule is read as a sentence, and the card shows it that way: when an order is created with a total over 500, send the "large order" template to the address in email.
Its parts:
| Template | Which email |
| Event | What happened — a record created, changed, a user signed up |
| Collection | What it happened to |
| Filter | An optional condition |
| To | A field on the record, or a fixed address you type |
| From name | The name in the recipient's inbox |
| Reply-to | Optional — where a reply goes |
The filter is what keeps it useful#
Without one, a rule on a busy collection sends a lot of mail nobody reads, and the useful ones get lost in it.
As well as the usual comparisons, two operators are about change rather than value: one fires when a field changed at all, and one when it changed to a particular value. The second is the one you want for a status:
when status changed to "shipped" → send the dispatch emailWithout it, a rule on "an order was changed" sends the dispatch email every time anyone edits anything on that order.
Who it goes to#
A field on the record is how a customer gets their own confirmation — the tab offers the record's email-shaped fields first.
A fixed address is how you get the alert.
From name and reply-to#
The from name is what the recipient sees in their inbox, and it should be your business rather than your app's internal name. Reply-to is where their reply lands, which matters because the sending address itself isn't a mailbox.
History#
Every email the app sends, with who it went to, its subject, which event sent it, when, and an error marker if something went wrong.
When someone says they didn't get the confirmation, this is where you find out whether it was sent, failed, or never triggered — three different problems.
A rule that turned itself off#
A rule that keeps failing is disabled, and the card says why. It isn't silent, because a confirmation email that stopped sending is the kind of thing nobody notices for a month.
Sending can also be blocked at the app level — the tab shows a banner with the reason when it is.
Asking for it instead#
Most of this can be asked for, and the AI sets up the template and the rule together:
Email the customer their order confirmation when an order is paid, with the items and the total, and email me when an order is over 500Next#
- Webhooks Tell another system, instead of a person.
- Connectors Connect the app to another service.
- Logs What the app did, and what it cost.