Sub topic 7
Designing a Send-Time Test
This chapter assumes you know basic email marketing terms (list, campaign, click rate), can read short Python snippets, and understand proportions. Earlier chapters covered hypotheses, metrics, and random assignment. Here you apply them to timing.
What a send-time test asks
A send-time test asks one question: does the moment an email is delivered change what recipients do? The content stays identical. Only the send time differs.
A testable hypothesis names the metric and the direction. For example: "Sending at 08:00 recipient-local time instead of 14:00 will raise the click rate from 2.0% to 2.5%." Use click rate as the primary metric. Open rate is unreliable because of Mail Privacy Protection and image blocking, as covered earlier.
Randomize recipients, not days
The most common design error is to send variant A on Tuesday and variant B on Thursday to the same list. Any difference could come from the day, the news cycle, or a holiday. You cannot separate timing from those effects.
Instead, split the recipients at random and send both variants in the same week. Each recipient sees only one send time. Reuse the hashing approach from the randomization chapter:
import hashlib
def assign_variant(user_id, experiment, variants=("A", "B")):
key = f"{experiment}:{user_id}".encode("utf-8")
digest = hashlib.sha256(key).hexdigest()
return variants[int(digest, 16) % len(variants)]
for uid in ["user-1", "user-2", "user-3", "user-4"]:
slot = assign_variant(uid, "send-time-2026-11", ("08:00", "14:00"))
print(uid, slot)Because the experiment name is part of the key, the same person can land in a different group in the next experiment.
Fix the clock definition
Decide before launch whether "08:00" means one fixed time zone or each recipient's local time.
- Fixed time (for example UTC): Recipients in different zones get the email at very different local hours. This tests "this instant" and mixes in the effect of geography.
- Recipient-local time: Everyone gets the email at 08:00 or 14:00 on their own clock. This isolates time of day, but needs a time zone for each recipient.
If your question is "which hour of the day works best," use local time. If you have no reliable time zone data, restrict the test to one region, so the two groups share a clock.
Hold everything else constant
Both groups must share the same subject line, content, sender name, and list segment. Randomization balances the segments across groups only if you assign from the whole eligible list. Do not assign "morning" to the newsletter segment and "afternoon" to the trial-user segment. Then you would be comparing audiences, not times.
Keep the delivery window tight. If a send takes four hours to finish, your 08:00 group is partly receiving at noon. Note the actual delivery times in your log.
Choose time slots worth testing
Pick slots that differ meaningfully. Testing 09:00 against 09:30 rarely produces a detectable difference. Test distinct contexts, such as early morning against mid-afternoon, or a weekday against a weekend. Change one dimension per test, either hour or day, not both.
Size the test
Small timing effects need large groups. For a click rate moving from 2% to 2.5%:
from math import ceil
from statistics import NormalDist
def sample_size_per_variant(p_base, p_target, alpha=0.05, power=0.8):
z_alpha = NormalDist().inv_cdf(1 - alpha / 2)
z_beta = NormalDist().inv_cdf(power)
variance = p_base * (1 - p_base) + p_target * (1 - p_target)
return ceil((z_alpha + z_beta) ** 2 * variance / (p_target - p_base) ** 2)
print(sample_size_per_variant(0.02, 0.025))This prints about 13,800 recipients per variant. If your list is smaller, test a bigger expected effect or run the test across several sends.
Exercise
A teammate sends variant A to the full list on Monday at 09:00 and variant B to the full list on Wednesday at 09:00, then compares click rates. Name the flaw and give the fix.
Show answer
The design confounds send time with the day of the week (and anything else that changed between days). The fix is to split the list at random into two groups and send both variants in the same week, ideally on the same day, with only the time of day differing.
Exercise
You want to test 08:00 against 14:00 for a list spread across five time zones. Which clock definition should you use, and why?
Show answer
Use recipient-local time. Every recipient then gets the email at 08:00 or 14:00 on their own clock, so the test isolates time of day. A fixed time such as UTC would deliver at very different local hours and mix in geography.