Transactional Email: What It Is and How It Works
A transactional email is an automatic message sent to one person because of something they did or something that changed on their account. An order confirmation, a password reset link and a "your parcel has shipped" note are all transactional emails.
Each one carries details that belong to that person: an order number, a link that works once, a delivery date. Nobody chose the moment it went out. The customer's action did.
How a transactional email is sent
Your own system sends it, seconds after an event. The flow has three steps:
- Trigger. The customer places an order, asks for a password reset or opens an account.
- Request. Your website, shop or app sends the details to an email service through an API (an interface one program uses to talk to another) or over SMTP, the standard protocol for passing email between servers.
- Delivery. The email service fills a template with that person's data and delivers the message.
Speed is part of the job. A customer who pays and sees no confirmation starts to wonder whether the order went through. A password reset link that arrives late leaves the person locked out.
Types of transactional email
Most fall into four groups, and a different event starts each one.
| Type | Sent when | Examples |
|---|---|---|
| Account and security | An account is opened or its sign-in details change | Address confirmation, password reset, sign-in code, new device alert |
| Order and payment | Money moves | Order confirmation, receipt, failed payment, refund |
| Delivery and booking | Something the customer is waiting for changes | Dispatch note, delivery delay, booking moved |
| Requested documents | The customer asks for a file | Data export, invoice copy, contract to sign |
Messages about a service the customer already uses, such as a change to your terms or planned downtime, sit close to these groups. For wording to copy, see these notification email examples.
Is a back-in-stock alert transactional?
No. A back-in-stock alert promotes a product, so UK rules treat it as marketing, even though many lists of transactional emails include it. When a customer asks to hear about one product, that alert counts as solicited marketing: the Information Commission's Office (ICO) uses the term when someone specifically asks for a particular message (ICO, checked November 2026).
Usage summaries that tell customers how much they used your product, then suggest an upgrade, cross the same line. The report part informs; the upgrade offer sells.
Transactional vs marketing email
The difference is who decides the moment. A transactional email goes out because the customer did something. A marketing email goes out because you chose a date and a list.
| Transactional email | Marketing email | |
|---|---|---|
| Starts with | The customer's action or an account change | Your decision to send |
| Goes to | One person | A list or segment |
| Contains | Facts about that person's order or account | Offers, news, content |
| Marketing consent | Not needed while it sells nothing | Consent or the soft opt-in |
| Opt-out in every message | No | Yes |
The table assumes the message stays free of promotion. Once a sales message rides along, the right-hand column applies to the whole email.
Transactional email and UK rules
Under UK rules, an email that only informs is not direct marketing, so it needs no marketing consent. The ICO describes messages sent purely for administrative or customer service purposes as outside direct marketing (ICO, checked November 2026).
The lawful basis for the personal data is usually contract. Article 6(1)(b) of the UK GDPR covers processing that is necessary to perform a contract with the person (legislation.gov.uk).
Adding a discount code or a "you may also like" block changes the picture. The ICO says that adding marketing material turns the message into direct marketing, and the Privacy and Electronic Communications Regulations (PECR) then require consent or the soft opt-in. A renewal reminder with a discount attached is the usual case: the reminder informs, the discount sells.
This section summarises ICO guidance and the regulations and is not legal advice.
API or SMTP: how your system hands over the email
An API is the usual choice for a new website or app; SMTP suits software that can already send email. Both reach the same email service, and the difference lies in what your system gets back.
With an API, your code sends one request per email, with the template name and the person's data. The service can report delivery, opens and bounces back to your system as they happen, through webhooks.
With SMTP, your software hands each finished email to a relay server, the same way a mail program sends. Older shop and booking systems often support only this route. Delivery problems then show up in the service's own reports rather than in your system.
Keep transactional and marketing sending apart
Send transactional email from a different subdomain from your marketing email. Inbox providers judge sender reputation partly by domain, so complaints about a newsletter can drag down the password resets sent from the same name.
A common setup looks like this:
notify.yourcompany.comfor order, account and delivery emailsnews.yourcompany.comfor newsletters and offers
Each subdomain needs its own SPF, DKIM and DMARC records; the SPF, DKIM and DMARC setup shows how to add them.
Writing a transactional email customers can trust
A good one reports one event, puts the news in the subject and asks for one action or none.
- Subject line: "Order 12345 confirmed" tells the customer everything before they open it. "We have news for you" makes them open it to find out.
- One action: a password reset needs one button. An order confirmation needs a tracking link.
- A real reply address: customers answer order emails with questions, and a no-reply address sends them to the phone instead.
- Your normal look: use the logo, colours and sender name the customer saw when they ordered, so the email doesn't pass for a scam.
- Short and readable on a phone: most people check a delivery note on the move.
Keep card numbers and passwords out of the email. For a payment problem, send the customer to sign in on your website as usual.
Where MailGraf fits
MailGraf sends marketing email: campaigns and automations to the contacts on your lists. It does not send transactional email, so order, password and account emails stay with the shop, booking or payment system that holds the record.
For your own domain, MailGraf suggests the same split as above: campaigns from a connected subdomain, with the root domain left to your shop, app and day-to-day mail (Add a sending domain).
Originally published: Apr 9, 2026


