Sub topic 3
Writing the Sunset Policy
Assume you know basic email terms, use an email service provider, and can query subscriber data with SQL or scripting. A sunset policy is a written rule for identifying inactive subscribers, attempting re-engagement, and suppressing people who remain inactive.
Writing the Sunset Policy
State each rule precisely:
| Policy element | Example |
|---|---|
| Engagement signal | Click or purchase |
| Inactivity window | 180 days |
| Re-engagement period | 30 days |
| Final action | Suppress future marketing mail |
Use the same dates and signals in your campaign logic and documentation. Record who qualifies, when the check runs, and which event cancels suppression.
Exceptions
Exclude new subscribers until they have had enough time to receive and use your normal onboarding sequence. Keep transactional mail, such as receipts and password resets, separate from marketing suppression. A suppressed customer may still need those messages.
Seasonal senders need a longer window. A subscriber who buys holiday products once a year may appear inactive during the rest of the year. Use purchase history, stated preferences, or the sender’s normal cycle before suppressing that person.
Suppression and Record Keeping
Suppressing means preventing future marketing sends while retaining the subscriber record. Deleting the record removes useful history and can make consent, purchases, and previous decisions difficult to audit.
Store the suppression reason, policy version, qualifying date, re-engagement messages, and any later resubscription. Respect an unsubscribe request permanently unless the person gives valid new consent.
from datetime import datetime, timedelta
def sunset_stage(last_engaged_at, subscribed_at, reengagement_sent_at, now):
reference = last_engaged_at or subscribed_at
if now - reference < timedelta(days=180):
return "active"
if reengagement_sent_at is None:
return "send_reengagement"
if now - reengagement_sent_at < timedelta(days=30):
return "waiting"
return "suppress"
print(sunset_stage(None, datetime(2025, 1, 1), None, datetime(2026, 1, 1)))Rolling Out and Automating
Start in report-only mode. Compare the candidates with recent purchases, support activity, and unsubscribe records. Then send the re-engagement campaign, wait the full grace period, and suppress only confirmed candidates. Run the job on a fixed schedule and make each step idempotent, meaning repeating it does not create duplicate sends or records.
Measuring the Effect
Compare a baseline period with the rollout period. Track delivery rate, bounce rate, spam complaints, inbox placement when available, clicks, purchases, and revenue per delivered message. Also measure revenue lost from suppressed subscribers and revenue recovered from re-engagement.
Exercise
A subscriber has no clicks or purchases for 190 days, but bought during the same season last year. Should the policy suppress this subscriber immediately?
Show answer
No. The seasonal-sender exception should delay suppression or use a longer inactivity window.