Sub topic 1
Three kinds of email and why the distinction matters
Most businesses send three kinds of email: newsletters, promotional email, and transactional email. They can look alike in an inbox. They differ in why they are sent, who may receive them, which laws apply, and how mailbox providers judge them. This chapter gives you the working model for telling them apart. Later chapters cover consent, law, authentication, and metrics in detail.
Prerequisites
This chapter assumes you have:
- Basic familiarity with how email is sent and received (sender, recipient, mail server, inbox).
- A general idea of what an email service provider (ESP) does. An ESP is a service that sends email for you and manages delivery.
- A basic idea of what a DNS record is, because sender authentication is mentioned briefly near the end.
You do not need to know any email law yet.
The working model
Classify a message by asking one question: why does this message exist?
- A newsletter exists to deliver recurring content that the recipient chose to receive. Examples are a weekly digest, a product-updates roundup, or an editorial column.
- A promotional email exists to drive a commercial action. Examples are a discount, a product launch, a sale reminder, or a webinar invitation.
- A transactional email exists because the recipient did something, and the message completes, confirms, or supports that action. Examples are a password reset, a receipt, a shipping notice, or a sign-in alert.
Each type can be described by four traits:
| Trait | Newsletter | Promotional | Transactional |
|---|---|---|---|
| Trigger | Schedule (weekly, monthly) | Your campaign calendar | One user action or system event |
| Purpose | Inform or entertain | Sell or persuade | Confirm, complete, or support an action |
| Typical consent | Explicit sign-up for that content | Marketing opt-in (rules vary by region) | Implied by the user's action |
| Can the user opt out? | Yes, always | Yes, always | Usually no, for essential messages |
The "typical consent" row is a rule of thumb. Exact obligations depend on the law of the recipient's location, covered in the legal chapter.
Newsletters
A newsletter is recurring and content-led. The recipient subscribed because they want the content, and the value is in the content itself. A newsletter may link to your products, but a reader would still find it worthwhile if it did not.
Key characteristics:
- A predictable cadence. Readers expect a weekly or monthly rhythm.
- A single subscription promise, such as "one email a week with three articles". Sending something outside that promise is a common source of spam complaints.
- Engagement is driven by editorial quality. Subject lines and content matter more than discounts.
Promotional email
Promotional email is commercial persuasion. Its main job is to get the recipient to buy, upgrade, register, or return.
Key characteristics:
- It is campaign-based. You send it when you have something to announce or sell.
- It usually targets a segment, such as people who bought a related product or who have not purchased in 90 days.
- It carries the strictest consent and unsubscribe expectations of the three types, because it is the type most likely to feel unwanted.
Newsletters and promotions are often grouped together as "marketing email". They differ in intent. A newsletter earns attention with content, and a promotion asks for action.
Transactional email
Transactional email is triggered by an individual user's action or account event. It is one-to-one in nature, even when you send millions of them.
Typical examples:
- Account creation and email address verification
- Password reset requests
- Order confirmations, invoices, and receipts
- Shipping and delivery notices
- Security alerts, such as a sign-in from a new device
A transactional message should contain only what the recipient needs to complete or understand the action. This sample message does that:
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 message is sent in response to one user action. It has one purpose, includes only the information needed for that action, and has no promotional content. To run it, replace the host and credentials with real values from your provider.
A decision flow
The flowchart below is a quick way to classify a message. Real messages sometimes fall between categories, and a later chapter covers those mixed cases.
The same logic as code makes the rules explicit:
from dataclasses import dataclass
@dataclass
class Message:
triggered_by_user_action: bool
primary_purpose_is_offer: bool
recurring_subscribed_content: bool
contains_promo_block: bool = False
def classify(m: Message) -> str:
if m.triggered_by_user_action:
if m.contains_promo_block:
return "mixed: needs review"
return "transactional"
if m.primary_purpose_is_offer:
return "promotional"
if m.recurring_subscribed_content:
return "newsletter"
return "needs review"
examples = {
"password reset": Message(True, False, False),
"receipt with a coupon banner": Message(True, False, False, True),
"spring sale": Message(False, True, False),
"weekly digest": Message(False, False, True),
}
for name, message in examples.items():
print(f"{name}: {classify(message)}")Running it prints:
password reset: transactional
receipt with a coupon banner: mixed: needs review
spring sale: promotional
weekly digest: newsletterThis is a teaching model, not a legal test. In practice a human reviews the "needs review" cases against the rules that apply to your audience.
Why the distinction matters
The classification drives four decisions.
Consent and legal treatment
Different types need different permission. A password reset needs no marketing opt-in, because the user asked for it. A promotion generally does need one in many regions, and some jurisdictions require explicit opt-in before you send it. A newsletter sits in between: the user signed up for that specific content, and you should not reuse the address for unrelated campaigns without more permission. The next chapters explain the details.
Unsubscribe obligations
Marketing messages need a clear way to opt out. Essential transactional messages, such as a security alert, generally do not offer opt-out from the message itself, though users can often close the account. If you mislabel a promotion as transactional to avoid giving an unsubscribe option, you risk legal trouble and spam complaints.
Deliverability
Mailbox providers such as Gmail, Outlook, and Yahoo build a reputation for your sending domain and IP addresses. Recipients open and act on transactional mail at much higher rates, and they rarely mark it as spam. Promotions get lower engagement and more complaints. If both share one sending identity, a bad promotional campaign can drag down the reputation that gets password resets delivered. This is why mature senders use separate streams, covered later in the tutorial.
Measurement
Each type has a different definition of success. A transactional email is successful if it arrives quickly and the user completes the action. A newsletter is judged on sustained engagement, and a promotion on conversions and revenue. Using click rate as the only yardstick for all three gives misleading results.
Common errors
- Adding promotions to transactional messages without thinking. A coupon in a receipt looks harmless, but it can change how the message is legally classified. The mixed-content chapter explains the test.
- Treating every sign-up as permission for everything. Someone who creates an account has agreed to receive account messages. That does not automatically permit weekly sales emails.
- One sending identity for all traffic. Sending newsletters, campaigns, and password resets from the same domain, IP, and provider stream makes the most important messages depend on the least reliable ones.
- Calling a message "transactional" because a system sends it. Automation is not the test. A cart-abandonment email is triggered by user behavior, but its purpose is to sell, so treat it as promotional. The lifecycle chapter covers these in-between cases.
- Judging all types by open rate. Open tracking is unreliable on its own, since some mail clients preload images. The metrics chapter covers this.
How the rest of the tutorial builds on this
Everything later in this tutorial depends on classifying correctly. You will use the type to decide what consent you need, which legal rules apply, what unsubscribe handling to provide, and which sending stream to use. Authentication of your sending domain with SPF, DKIM, and DMARC, which are DNS-based sender checks, applies to all three types. Stream separation and metrics then differ by type.
Exercises
Exercise
A store sends an email 20 minutes after a customer places an order. It contains the order number, the items, the total, and a delivery estimate. At the bottom there is a large banner: "Get 20% off your next order." Is this transactional, promotional, or a newsletter? What should you do?
Show answer
It is a mixed message. The order confirmation is transactional, but the banner adds promotional content. In the classification flow it lands in "needs review". The safest approach is to remove the banner and send any offer as a separate promotional email to people who have opted in to marketing. If you keep the banner, check the mixed-content rules that apply to your audience, because the promotional element can change how the message is treated.
Exercise
Name two reasons why a company should not send its password-reset emails and its weekly sale campaigns from the same sending stream.
Show answer
First, reputation: poor engagement and spam complaints from promotions can lower the sending reputation that password resets depend on, causing delays or spam-folder placement. Second, different requirements: promotions need marketing consent and unsubscribe handling, while password resets are essential and time-critical, so the two types need different controls, monitoring, and metrics. (Other valid answers include the different legal treatment of the two types and the risk that a campaign's high volume delays time-sensitive mail.)