Sub topic 8
Preparing a clean recipient list
This chapter assumes you know how SMTP delivery and bounces work, can read a basic DNS record, and have already set up SPF, DKIM and DMARC for the sending domain. Authentication proves who you are. The recipient list decides what mailbox providers see when you start sending. A new domain or IP has no history, so every bounce and complaint in the first weeks carries a lot of weight.
Why the list matters more than anything else during warm-up
Mailbox providers judge a new sender on the signals it produces early. Three of those signals come straight from the list:
- Hard bounces. A hard bounce is a permanent delivery failure, such as "user unknown" (SMTP 550 5.1.1). Sending to many addresses that don't exist is a mark of a sender who bought or scraped a list.
- Spam complaints. A complaint happens when a recipient marks your message as spam. People who don't remember signing up complain far more often than people who do.
- Spam traps. A spam trap is an address that real people never use. Providers and blocklist operators run them to catch careless list building. One hit on a trap can damage a new sender more than hundreds of ordinary bounces.
Large providers often point to a complaint rate under 0.1% as the target and treat 0.3% as the level to avoid. Gmail's guidance for bulk senders uses these thresholds. A warm-up that starts with 50 messages a day can reach 0.3% complaints with a single report from 17 messages. This is why list preparation comes before volume planning.
The sources of bad addresses
Know where bad data comes from so you can decide which addresses to keep.
| Problem | Typical cause | Effect during warm-up |
|---|---|---|
| Invalid addresses | Typos at signup, fake addresses, mailboxes closed since signup | Hard bounces |
| Role accounts | Addresses like `info@`, `sales@`, `admin@` | Shared inboxes, higher complaint rates |
| Disposable addresses | Temporary inbox services | Bounces after the inbox expires |
| Old, unengaged addresses | Contacts from years ago | Bounces, and addresses recycled into spam traps |
| Purchased or scraped lists | Third-party data | Traps, complaints, possible blocklisting |
| Unconfirmed signups | Forms with no verification step | Typos, abuse by third parties |
Providers can turn abandoned mailboxes into recycled traps. An address that bounced as unknown for a long time may later accept mail and act as a trap. The age of a contact is therefore a risk by itself, even if the address has never bounced in your records.
Permission comes first
Only send to people who agreed to hear from you. Never use a purchased or rented list for a warm-up. Cleaning cannot fix a list without consent, because the addresses may be valid and still produce complaints and trap hits.
For each contact, record:
- the date and source of the signup,
- the consent wording shown at the time,
- the IP address or form that captured it, if you have it.
If you can't say where an address came from, leave it out of the warm-up.
Consider confirmed opt-in (also called double opt-in) for new signups. The subscriber gets a message with a link and is added only after clicking it. This removes typos and stops third parties from signing up other people. The cost is a lower number of confirmed subscribers, but the ones you keep are of higher quality.
Cleaning the list step by step
Work through these steps in order. Each step is cheaper than the one after it.
- Remove syntax errors and duplicates. Normalize case in the domain part, trim whitespace, and drop entries that aren't valid addresses.
- Remove known bad addresses. Delete anything that hard bounced in your previous system, unsubscribed, or complained. Honor your suppression list from the old platform and import it into the new one.
- Remove role accounts and disposable domains. Use a maintained list of disposable domains, not one you wrote yourself.
- Check the domain part. A domain with no MX record (and no A record as fallback) cannot receive mail. Drop those addresses.
- Apply a recency filter. Keep contacts who signed up, bought or engaged recently. A common starting point is the last 6 months for the first sends.
- Consider an address verification service for older or uncertain data. These services check mailbox existence and flag risky addresses.
The script below runs steps 1, 3 and 4. It needs the dnspython package (pip install dnspython).
import re
import sys
import csv
import dns.resolver
EMAIL_RE = re.compile(r"^[A-Za-z0-9._%+\-]+@[A-Za-z0-9.\-]+\.[A-Za-z]{2,}$")
ROLE_LOCALS = {"info", "admin", "sales", "support", "postmaster",
"abuse", "noreply", "no-reply", "webmaster", "contact"}
DISPOSABLE = {"mailinator.com", "10minutemail.com", "guerrillamail.com"}
_mx_cache = {}
def has_mail_host(domain):
"""Return True if the domain has an MX record, or an A record as fallback."""
if domain in _mx_cache:
return _mx_cache[domain]
ok = False
for rtype in ("MX", "A"):
try:
dns.resolver.resolve(domain, rtype, lifetime=5)
ok = True
break
except (dns.resolver.NXDOMAIN, dns.resolver.NoAnswer,
dns.resolver.NoNameservers, dns.resolver.LifetimeTimeout):
continue
_mx_cache[domain] = ok
return ok
def classify(address):
"""Return (clean_address, reason). reason is None if the address passes."""
address = address.strip()
if not EMAIL_RE.match(address):
return address, "syntax"
local, domain = address.rsplit("@", 1)
domain = domain.lower()
clean = f"{local}@{domain}"
if local.lower() in ROLE_LOCALS:
return clean, "role"
if domain in DISPOSABLE:
return clean, "disposable"
if not has_mail_host(domain):
return clean, "no_mail_host"
return clean, None
def main(path):
seen = set()
kept, dropped = [], []
with open(path, newline="") as f:
for row in csv.reader(f):
if not row:
continue
clean, reason = classify(row[0])
key = clean.lower()
if reason is None and key in seen:
reason = "duplicate"
if reason is None:
seen.add(key)
kept.append(clean)
else:
dropped.append((clean, reason))
print(f"kept {len(kept)}, dropped {len(dropped)}")
for address, reason in dropped:
print(f" {reason:12s} {address}")
if __name__ == "__main__":
main(sys.argv[1] if len(sys.argv) > 1 else "contacts.csv")The script does not prove a mailbox exists. It only removes addresses that are certain to fail or that carry known risk. Local parts are case sensitive in theory but almost never in practice, so the script lowercases only the domain and uses a lowercase key to detect duplicates.
Using verification services carefully
Address verification services connect to the recipient's mail server and check whether it accepts the address, among other tests. They help, but they have limits:
- Catch-all domains accept every address, so verification returns "unknown" for them. Treat these as risky, not as valid.
- Large providers often block or mask verification probes, so results for them may be guesses.
- Greylisting and temporary errors can look like failures.
- Trap detection is incomplete. No service can promise to find every trap.
Run verification on the older or lower-confidence part of the list. Do it shortly before sending, because the result decays as people change jobs and close mailboxes. A list verified six months ago is no longer verified.
Deciding which contacts to keep for the first sends
The cleaned list is your pool. The first sends use only a slice of it. Rank contacts by how likely they are to react well:
- Recent customers and people who confirmed a signup in the last 30 to 90 days.
- Contacts who opened or clicked in the last 90 days on your previous system.
- Contacts with older engagement, up to 6 months.
- Everyone else.
Hold groups 3 and 4 back until the warm-up is well under way, and send to group 4 only after a re-engagement attempt (see the chapter on engagement-based segmentation). Mail opens are an imperfect signal, since some clients prefetch images and inflate opens. Clicks, replies, purchases and logins are more reliable.
Handling bounces and complaints during warm-up
The list is not finished when the first message goes out. Set up the feedback loop before sending:
- Hard bounces: suppress the address immediately after the first one. Never retry it.
- Soft bounces: these are temporary errors like a full mailbox (4xx codes). Retry within your platform's normal schedule, and suppress after several consecutive failures across different days. Three to five is common.
- Unsubscribes: process them at once. Gmail and Yahoo expect one-click unsubscribe with the
List-UnsubscribeandList-Unsubscribe-Postheaders for bulk senders, and expect requests to be honored within two days. - Complaints: where a provider offers a feedback loop, suppress every complainer. Some providers send reports with the recipient address removed, in which case you rely on the provider's dashboard for rates.
Keep the suppression list outside any single campaign. A contact who unsubscribed from one stream should not be re-imported by the next CSV upload. Check each import against the suppression list as a final step before sending.
Common mistakes
- Importing the whole database "because it's all opted in." Age and past bounces matter as much as consent.
- Skipping the old suppression list. Moving platforms without carrying suppressions over resends to people who already unsubscribed.
- Cleaning once and never again. The list decays. Plan to re-check before each major step up in volume.
- Trusting "valid" from a verifier as "will engage." A valid mailbox can still produce a complaint.
- Mixing sources. Combining a clean customer list with a questionable one makes problems hard to trace. Tag every contact with its source, so you can see which group causes bounces.
Summary of decisions
| Decision | Recommended default for a warm-up |
|---|---|
| Which contacts to include | Consented, recent, engaged |
| Age cut-off for first sends | About 90 days of engagement, widening to 6 months |
| Role accounts | Exclude |
| Unverified older addresses | Verify before use, or hold back |
| Hard bounce handling | Suppress at once |
| Soft bounce handling | Suppress after 3 to 5 consecutive failures |
| Complaints and unsubscribes | Suppress at once, across all streams |
Exercise
You are moving to a new sending IP. Your export has 120,000 contacts. Of these, 20,000 engaged in the last 90 days, 30,000 engaged 3 to 12 months ago, and 70,000 have never opened anything and signed up over two years ago. What do you include in the first week of warm-up, and what do you do with the other groups?
Show answer
Use only the 20,000 recently engaged contacts as the pool, after removing syntax errors, duplicates, old suppressions, role accounts and addresses without a mail host, and send to a small slice of them each day according to the volume schedule. Hold the 30,000 contacts with older engagement until the ramp is stable, then add them in stages while watching bounces and complaints. Run the 70,000 never-engaged contacts through verification and a re-engagement campaign later, and remove the ones who don't respond, because they carry the highest risk of bounces and recycled spam traps.
Exercise
A verification service marks 4,000 addresses on a corporate domain as "unknown". The domain has an MX record and accepts all recipients during the SMTP check. Should you send to them in the first week? Why?
Show answer
No. The domain is a catch-all, so the server accepts every address during the check and the verifier cannot tell which mailboxes exist. Some of the 4,000 addresses may bounce later, when the server processes the message. Hold them back, or send only to those with recorded recent engagement, until the warm-up has established a stable bounce rate.