Email

Transactional Email vs. Marketing Email

Tell receipts and resets apart from campaigns, understand the legal and delivery differences, and set up separate sending streams.

Key takeaways

  • Transactional mail completes or reports an action; marketing mail tries to prompt a new one.
  • Marketing mail needs consent or another lawful basis, plus a working opt-out, under rules that vary by country.
  • Send the two streams separately, ideally from different subdomains, so campaign trouble doesn't delay password resets.
  • Adding heavy promotion to a receipt can turn it into marketing in the eyes of regulators and readers.

A transactional email is triggered by something a particular person did or needs to know about their account: a receipt, a password reset, a shipping notice, a security alert. A marketing email promotes products, content or events, usually to many people at once, on a schedule you choose.

The distinction affects three things: what the law generally requires, how mailbox providers and readers treat the message, and how you should build your sending setup. Mixing the two is one of the easier ways to get important messages lost.

The practical difference

Ask who started it and what happens if it never arrives. If a customer can't sign in without it, or would reasonably expect it after paying, it is transactional. If nothing breaks when it is missed, it is probably promotional.

Two kinds of mail
Transactional Triggered by one person's action or account event Sent immediately, one at a time Expected and usually opened Delay causes real problems Marketing Chosen and scheduled by the sender Sent to a segment or whole list Competes for attention Needs permission and an opt-out VS Transactional Triggered by one person's action or account event Sent immediately, one at a time Expected and usually opened Delay causes real problems Marketing Chosen and scheduled by the sender Sent to a segment or whole list Competes for attention Needs permission and an opt-out
Message Usually Notes
Order confirmation Transactional Keep promotion minimal
Password reset Transactional Time sensitive and security relevant
Shipping update Transactional
Monthly newsletter Marketing
Abandoned cart reminder Often treated as marketing Rules differ
"We miss you" discount Marketing
Change to terms of service Service notice Don't slip an advertisement in
Request for a product review Gray area Check local guidance

Gray areas are real. When in doubt, treat the message as marketing: get permission and include an opt-out. The cost of being cautious is small.

Why the law cares

Anti-spam and privacy laws generally put their strictest duties on commercial messages. In the United States, CAN-SPAM distinguishes commercial messages from "transactional or relationship" messages and looks at a message's primary purpose. Many of its commercial requirements, such as an opt-out, don't apply to the latter, though false header information is prohibited for both. In the European Union, the United Kingdom and Canada, among others, marketing generally depends on consent or a narrow exception.

If a receipt carries a large sales banner, subject line and opening included, its primary purpose can look commercial. A modest footer mention is a different matter, but rules and interpretations vary, so check what applies where your recipients are. Email marketing consent and anti-spam laws goes further.

Why deliverability cares

Mailbox providers judge senders partly on how recipients react. Marketing mail attracts more deletions, spam complaints and bounces to stale addresses. If it shares an IP address and domain with your password resets, a poor campaign can drag the resets into spam with it.

Separation limits the damage. A common arrangement looks like this.

Everyday staff mail     [email protected]
Transactional stream    [email protected]
Marketing stream        [email protected]

Each subdomain gets its own DKIM signing and SPF setup as your sending service directs, and the organizational domain carries a DMARC policy that covers them. Reputation isn't perfectly isolated, since providers can connect subdomains to the parent domain, but it is better than one shared stream. Sender reputation and IP warming explains how it builds.

How a password reset should travel
1 User requests reset The application creates a short-lived, single-use link. 2 App calls the sender It hands one message to the transactional stream by API or SMTP. 3 Service signs and sends DKIM signs for your subdomain; no campaign queue is involved. 4 Events come back Delivery, bounce and complaint notices update your records. 5 Support can look it up A log shows whether and when it was accepted. User requests reset The application creates a short-lived, single-use link. 1 App calls the sender It hands one message to the transactional stream by API or SMTP. 2 Service signs and sends DKIM signs for your subdomain; no campaign queue is involved. 3 Events come back Delivery, bounce and complaint notices update your records. 4 Support can look it up A log shows whether and when it was accepted. 5

Sending infrastructure

Applications usually send transactional mail through a dedicated email service, using an HTTP API or SMTP submission. These services handle queuing, retries, signing and bounce processing. Marketing platforms add list management, segmentation, templates, scheduling and unsubscribe handling. Some companies offer both; keep the streams distinct even then.

Avoid sending important mail from a web server's local mail function. It often lacks proper authentication and a good reputation. Business mailbox plans are also a poor fit for volume, with sending limits and terms that restrict bulk use.

Store API keys as secrets, outside your source code, with only the permissions needed. A leaked sending key lets someone mail the world as you. Environment variables and secrets explains safe handling.

Writing good transactional mail

  • Say what happened in the subject: "Your password was changed".
  • Include the facts a reader needs: amount, date, order reference, device or approximate location for sign-in alerts.
  • Tell them what to do if it wasn't them, and let them reach the site by their usual route.
  • Make reset links expire quickly and work only once.
  • Never include a password in the message.
  • Send a plain-text version alongside HTML.
  • Let replies reach someone, or say clearly where to get help.

Scammers imitate these messages precisely because people act on them. Consistent sender addresses, consistent wording and links only to your own domain make forgeries easier to spot.

Writing marketing mail that earns its place

Send to people who asked for it, at a frequency they expect. Make the sender name recognizable. Put an obvious unsubscribe link in every message and support the one-click header defined in RFC 8058; large mailbox providers expect it from bulk senders, as described in bulk sender requirements. Remove addresses that hard bounce and consider pausing people who never engage, following the practices in email list hygiene.

Preferences and suppression

A person who unsubscribes from marketing should still get their receipts and security alerts. That requires two different records: a marketing preference they control, and a suppression list for addresses you must not mail at all, such as those that bounce permanently.

Classify a new message before you send it
Did a specific user action or account event trigger it? YES Continue as transactional only if its main content is that event. 1 NO Is its main purpose to sell or promote? YES Treat it as marketing: permission, opt-out and the marketing stream. 2 NO Is it a required notice about security, billing or terms? YES Send as a service notice, with no promotion. 3 NO Default to marketing If you can't justify it as necessary, apply marketing rules. Did a specific user action or account event trigger it? 1 IF YES Continue as transactional only if its main content is that event. NO Is its main purpose to sell or promote? 2 IF YES Treat it as marketing: permission, opt-out and the marketing stream. NO Is it a required notice about security, billing or terms? 3 IF YES Send as a service notice, with no promotion. NO Default to marketing If you can't justify it as necessary, apply marketing rules.

Write down the classification of each automated message your product sends, and review it when someone edits a template. Promotional content tends to creep in over time.

Handling bounces and complaints

Both streams need feedback handling, with different consequences. A hard bounce means the address can't receive mail, for instance because the mailbox doesn't exist. Stop sending to it. A soft bounce is temporary, such as a full mailbox or a busy server, and retries are normal. What happens when an email bounces decodes the replies.

On the marketing side, a spam complaint should remove the person from future campaigns at once. On the transactional side, think harder. If a security alert is marked as spam or an address starts hard bouncing, your application should know, so it can prompt the user to correct their email the next time they sign in. Otherwise they discover the problem only when they need a reset link.

Receive these events through your sending service's webhooks or reports, verify that the notifications really come from the service, and store the result against the user record.

Don't let your own forms be abused

Anything that sends mail on request can be misused. Someone can hammer a password reset form to flood a victim's inbox, or type strangers' addresses into a sign-up form so that your system mails them.

  • Limit how often one address and one source can trigger a message.
  • Show the same response whether or not an account exists, so the form doesn't reveal who is registered.
  • Keep user-supplied text out of subjects and bodies of mail sent to other people, or spammers will use your template to carry their message.
  • Add a bot check where abuse appears.

These protect your reputation as much as your users. API rate limits explains throttling from the other side.

Testing before release

Send each template to test accounts at several providers. Check that the subject makes sense, links go to the right environment, the plain-text part is readable and the message passes SPF, DKIM and DMARC. In development, use a capture tool or a sandbox mode so that test runs never email real customers. A staging system pointed at a copy of production data is a classic way to send thousands of confusing messages.

Measuring the two

For transactional mail, watch delivery time, bounce rate, complaints and support tickets that say "I never got it". Alert on sudden drops, because a silent failure locks people out.

For marketing mail, watch complaints, unsubscribes, bounces and what readers do on your site. Open rates are unreliable, since some mail apps load images in advance and others block them; tracking pixels explains why.

Who should own each stream

Give each stream a named owner. Product or engineering usually looks after transactional templates, since they change with the application, and marketing looks after campaigns. Both should agree on a shared sender style, the subdomain plan and who responds when delivery drops. A short log of template changes helps explain a sudden rise in complaints, and a periodic review catches messages that nobody remembers adding.

Common questions

Can I add a promotion to a receipt?

Sometimes, in moderation, depending on the law that applies. Keep the transaction first and dominant. If the promotion would be unwelcome to someone who unsubscribed, think twice.

Often not legally, and people can't sensibly opt out of password resets. For optional notifications, such as comment alerts, offering controls is good practice and cuts spam reports.

Is a no-reply address a good idea?

It's common but unfriendly. If you can, route replies to a monitored queue. If you can't, say how to get help in the first lines.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Email →

Latest news on this topic