The CAN-SPAM Primary Purpose Test
CAN-SPAM distinguishes between transactional/relationship messages and commercial messages based on the email's "primary purpose."
Transactional (No Unsubscribe Required)
Emails are transactional if the primary purpose is to:
- Facilitate or confirm an agreed-upon transaction
- Provide warranty, recall, or safety information
- Provide notification about a change in terms or account status
- Provide information about an ongoing commercial relationship
- Deliver goods or services as part of a transaction
Commercial (Unsubscribe Required)
Emails are commercial if the primary purpose is to advertise or promote a commercial product or service. Commercial emails must also include a valid physical postal address under CAN-SPAM.
The Gray Area: Mixed Content
Many emails contain both transactional and promotional content. CAN-SPAM provides guidance:
Testing Mixed Content
- Transactional content must appear first in subject line and body
- Promotional content cannot dominate the message
- A reasonable recipient should view the email as transactional
When in Doubt, Include Unsubscribe
If your transactional emails include any promotional content (product recommendations, upsells, cross-sells), include an unsubscribe link to be safe. The risk of non-compliance outweighs the inconvenience.
Examples by Email Type
Order Confirmation (Transactional)
- Core content: Order details, shipping info, payment confirmation
- Unsubscribe required? No, if focused on the order
- Watch out: Large "you may also like" sections can tip the balance
Password Reset (Transactional)
- Core content: Reset link, security info
- Unsubscribe required? No
- Best practice: Keep these purely functional
Account Statement (Transactional)
- Core content: Account balance, transaction history
- Unsubscribe required? No, if focused on account information
Shipping Notification (Transactional)
- Core content: Tracking information, delivery date
- Unsubscribe required? No
- Watch out: Upsell offers can change classification
Abandoned Cart (Commercial)
- Core content: Promotion to complete purchase
- Unsubscribe required? Yes, this is marketing
GDPR and Other Regulations
CAN-SPAM is US law. Other regulations have different rules. Understanding how GDPR affects email marketing is essential for senders with European recipients:
GDPR (Europe)
- Transactional emails for contract performance do not require consent
- But adding marketing content may require consent
- Right to object may apply to some transactional communications
CASL (Canada)
- Implied consent for transactional messages
- More restrictive than CAN-SPAM on mixed content
- Safer to include unsubscribe for Canadian recipients
Best Practices
For Pure Transactional
- Keep content focused on the transaction
- Minimize or eliminate promotional elements
- No unsubscribe required, but include account management link
- Consider separating transactional and marketing email infrastructure to protect deliverability
For Mixed Content
- Put transactional content first and prominently
- Keep promotional content under 20% of message
- Include unsubscribe for promotional portion
- Consider separate preference for "recommendations in receipts"
Consider User Experience
Even if not legally required, frustrated users may:
- Mark transactional emails as spam
- Damage your sender reputation
- Contact support to stop emails
A "manage preferences" link costs nothing and reduces friction.
Do Transactional Emails Need an Unsubscribe Link?
Under CAN-SPAM, pure transactional emails (those whose primary purpose is to facilitate a transaction, provide account information, or deliver purchased goods) do not require an unsubscribe link. This includes order confirmations, password resets, shipping notifications, and account statements.
However, CAN-SPAM's primary purpose test means any email with significant promotional content is treated as commercial, regardless of whether it also contains transactional content. If your order confirmation includes a large "recommended products" section, a reasonable recipient might view the promotional content as the primary purpose, making it a commercial message that requires an unsubscribe mechanism.
Gmail and Yahoo One-Click Unsubscribe: Does It Apply to Transactional?
Gmail and Yahoo's bulk sender requirements mandate one-click unsubscribe (RFC 8058) for marketing and promotional emails. Pure transactional emails sent from an established relationship are not subject to this requirement. However, if you use the same sending infrastructure for both transactional and marketing email, ensure your marketing messages include the required List-Unsubscribe and List-Unsubscribe-Post headers.
For more details, see our guides on Gmail bulk sender requirements, Yahoo email sender requirements, and general email unsubscribe requirements.
