Transactional email is a message your system sends to one person because of something that person just did or that happened to their account, such as a receipt, a password reset link or a shipping notice. Marketing email is promotional mail sent to many people at once, such as a newsletter or a sale announcement. The two differ in purpose, legal rules, sending infrastructure and how you measure success, and mixing them can harm delivery of the mail users depend on.
This guide explains what transactional email is, how it differs from marketing email, and how to keep them apart.
A message is transactional when it is triggered by a user action or account event and the recipient expects it. Common examples:
Each of these is sent to one recipient, contains information specific to them, and is useful even if they never open another email from you.
Marketing email promotes something. It goes to a list, usually the same content to many people, and the recipient can reasonably choose to stop receiving it. Newsletters, product announcements, discounts, abandoned-cart reminders sent as promotions and re-engagement campaigns are all marketing.
| Aspect | Transactional | Marketing |
|---|---|---|
| Trigger | A user action or system event | A schedule or campaign decision |
| Audience | One person | A list or segment |
| Timing | Within seconds | Hours or days is fine |
| Opt-out | Not required for the core message | Required, with an easy unsubscribe |
| Typical open rate | High, because it is expected | Lower |
| Sending stream | Dedicated, protected | Separate from transactional |
| Content | Functional, short, clear | Promotional, designed |
Rules vary by country, so confirm them for yours. The general pattern is the same in most regions. Marketing mail needs consent or a lawful basis and a working unsubscribe link, for example under the EU's GDPR and ePrivacy rules, and under the US CAN-SPAM Act, which applies to commercial messages. Purely transactional or relationship messages are generally exempt from unsubscribe requirements, but they must stay about the transaction. If you add promotional content to a receipt, regulators and mailbox providers can treat the whole message as marketing.
This is general information, not legal advice.
Mailbox providers such as Gmail, Outlook and Yahoo build a reputation for each sending domain and IP address. Marketing mail has higher complaint and unsubscribe rates, which lower that reputation. If receipts and password resets use the same sender, a bad campaign can send a password reset to the spam folder, and users cannot log in.
The usual approach:
mail.example.com for transactional and news.example.com for marketing.Because users wait for these messages, the engineering standards are different:
A tiny example of a reset message in code, using Python 3.13 and the standard library (the SMTP details are placeholders):
Related guides cover sending through providers, SMTP and APIs in more detail.
A welcome message sent straight after sign-up that confirms the account is generally treated as transactional. A series of promotional follow-ups is marketing.
Keep it minimal, or skip it. Some regulators and filters judge the message by its primary purpose, but a heavy promotion creates risk to your receipts' deliverability.
Not for the core message in most jurisdictions, but offering a way to manage notification preferences is good practice for repeating notifications.
No. A reset is a security-critical transactional message. Notifications such as comments or digests are optional and need preference controls, so many teams treat them as a third category.
Transactional email is triggered by a user action, sent to one person and expected quickly. Marketing email promotes and goes to a list with opt-out. Keep them on separate subdomains and credentials, authenticate both, and build transactional sending for speed, logging and idempotency.