Sub topic 1
Three kinds of email and why the distinction matters
Prerequisites
This chapter assumes you know the basics of how email is sent and received, and you know what an email service provider (ESP) does. It also assumes you have a rough idea of what a DNS record is. Later chapters cover consent, law, authentication, and metrics in detail. This chapter only sets up the vocabulary.
The three types
A business sends three main kinds of email. They differ in why they are sent, what triggers them, and what the recipient has agreed to receive.
- Transactional email is sent in response to one action the recipient took or one event on their account. Examples are password resets, receipts, shipping updates, and security alerts. The recipient expects it and usually needs it.
- Newsletters are recurring messages built around content, such as a weekly digest of articles or product news. The recipient signed up to receive them on a schedule.
- Promotional email pushes an offer, a launch, or a campaign, such as a sale announcement or a discount code. Its goal is to drive a purchase or another commercial action.
| Property | Transactional | Newsletter | Promotional |
|---|---|---|---|
| Trigger | One user action or account event | A schedule you set | A campaign you plan |
| Main goal | Complete or confirm something | Inform and keep an audience | Sell or announce an offer |
| Typical consent | Not needed to send the message itself | Opt-in to the list | Opt-in to marketing |
| Unsubscribe | Usually not offered for the message itself | Required | Required |
| Delivery priority | Highest, often time-sensitive | Normal | Normal |
The consent and unsubscribe rows are simplified. Rules vary by country, and a later chapter covers them.
Why the distinction matters
Treating all email the same causes three kinds of problems.
- Legal exposure. Marketing messages usually need permission and a working unsubscribe. A pure transactional message is treated more leniently in many places. If you misclassify a promotion as transactional, you may skip duties that apply to you.
- Deliverability. Mailbox providers track how recipients react to your sending domain. Marketing mail gets more spam complaints and more ignored messages. If it shares a domain and IP address with password resets, a bad campaign can push reset emails into spam folders.
- Measurement. A 20% open rate means something different for each type. A transactional email that nobody opens might signal a broken flow. A newsletter with the same figure might be healthy.
What a transactional message looks like
A transactional message is sent for one action, contains only what the recipient needs for that action, and carries no promotional content. This example sends a password reset with Python's standard library.
import smtplib
from email.message import EmailMessage
msg = EmailMessage()
msg["From"] = "Example App <[email protected]>"
msg["To"] = "[email protected]"
msg["Subject"] = "Reset your password"
msg.set_content(
"You asked to reset your password.\n"
"Use this link within 30 minutes: https://example.com/reset?token=EXAMPLE\n"
"If you did not request this, you can ignore this message."
)
with smtplib.SMTP("smtp.example.com", 587) as server:
server.starttls()
server.login("smtp-user", "smtp-password")
server.send_message(msg)The code needs a real SMTP server and credentials to run. Note what the body leaves out: no discount, no product feature list, no link to a blog post.
How to classify a message
Ask these questions in order.
Edge cases to expect
- A newsletter can contain a sale announcement. The dominant purpose decides the type, and sponsored or sales-heavy issues lean promotional.
- A welcome email after signup is triggered by an action, but it often promotes the product. Later chapters on lifecycle email and mixed content address it.
- A service notice about a policy change is not marketing, yet it is not a response to one user action. Treat it carefully and check the rules that apply to you.
Exercise
Your store sends an email titled "Your order has shipped" with a tracking link. At the bottom is a banner: "20% off your next order." Which of the three types is it, and what would you change to keep it purely transactional?
Show answer
It starts as transactional because one purchase triggered it and the tracking link is needed. The 20% banner is promotional content, which makes it a mixed message. To keep it purely transactional, remove the banner and send the offer in a separate marketing email to recipients who have opted in to marketing.
Exercise
Give two reasons it is risky to send newsletters and password resets from the same domain and IP address.
Show answer
First, spam complaints and low engagement from newsletters can damage the sender reputation that password resets depend on, so critical messages may land in spam. Second, mixing the types makes it harder to apply the correct legal handling, such as unsubscribe links, and to measure each type with suitable metrics.