How email reputation and deliverability work

Mailbox providers such as Gmail, Outlook, and Yahoo decide where each email lands: the inbox, the spam folder, or nowhere. They base that decision on who sent the email, whether the sender can prove its identity, and how recipients reacted to that sender's earlier email.

This page explains the model behind those decisions, and how PostHog's sending setup fits into it. For the steps to keep your own record healthy, see keep your deliverability healthy. For the exact sending tiers, see limits.

Two reputations: IP address and domain

Every email carries two identities that mailbox providers score separately:

  • The IP address that the email came from. This belongs to the email service provider (ESP), not to you.
  • The sending domain in the from address and in the authentication signatures, such as example.com. This belongs to you.

Mailbox providers used to rely mostly on IP reputation. Today, domain reputation carries most of the weight, because a domain is stable and an IP address is not. A sender can change email providers or IP addresses overnight, but its domain stays the same. So providers attach your history to your domain, and that history follows you to any ESP.

PostHog sends your email through Amazon SES on IP addresses that many senders share. These addresses already carry steady, high volume, so they already have a reputation. You don't need to warm up an IP address. A dedicated IP address only builds a good reputation when it carries large and regular volume. For everyone else, Amazon recommends shared IP addresses.

On a shared IP address, your domain reputation becomes the main signal that separates your email from the email of other senders. That is why the rest of this page focuses on your domain.

How authentication proves identity

Anyone can type any address into the "From" line of an email. Authentication lets a mailbox provider check that an email really comes from the domain it claims. Four mechanisms work together:

MechanismWhat it provesHow PostHog sets it up
DKIMThe domain owner signed the email, and nobody changed it in transit.Three CNAME records under _domainkey point to keys that Amazon SES uses to sign each email.
SPFThe server that sent the email is allowed to send for the domain in the envelope sender.include:amazonses.com in the SPF record of the bounce subdomain.
Custom MAIL FROMThe envelope sender (the return path) uses your domain, not Amazon's.A bounce subdomain, feedback by default, with one MX record and one SPF record.
DMARCThe domain in the "From" line aligns with a domain that passed DKIM or SPF, and tells providers what to do when it doesn't.You publish the policy. PostHog checks that a DMARC record exists.

Some details matter here:

  • DKIM is the strongest signal. The signature is cryptographic, and it survives forwarding. Your old provider's DKIM records and PostHog's records can exist at the same time, because each uses its own selector name.
  • A domain has only one SPF record. A second SPF record on the same name makes SPF fail for all email from that domain. SPF also allows at most 10 DNS lookups. Each include: uses at least one, so a long record can break SPF without warning.
  • Custom MAIL FROM gives SPF alignment under relaxed DMARC. Without it, the return path uses an Amazon domain, so SPF passes for Amazon and not for you. With a bounce subdomain on your domain, SPF passes for a subdomain of your domain, which aligns under relaxed SPF alignment (aspf=r, the DMARC default). If your DMARC policy uses strict SPF alignment (aspf=s), SPF requires the return path to match the exact "From" domain, so DMARC relies on DKIM alignment instead. The same subdomain also receives bounce notifications, which is how PostHog learns about bounces. See Custom MAIL FROM.
  • DMARC needs only one aligned pass. An email passes DMARC when DKIM or SPF passes and aligns with the "From" domain. Under default relaxed alignment, PostHog's setup aligns both, so one failure does not fail DMARC. Under strict SPF alignment (aspf=s), DKIM carries DMARC alignment.

Amazon's email authentication guide has more detail. For the records that PostHog shows for your domain, see set up your domain.

Shared infrastructure and tenant isolation

PostHog runs one Amazon SES account in each cloud region, one for US and one for EU. Each PostHog project is its own SES tenant in that account.

Amazon tracks bounce and complaint rates for each tenant. When one project sends bad email, Amazon can pause that project's tenant without stopping the others.

Tenants do not remove all shared risk. Amazon also judges the account as a whole. If enough projects in a region send bad email, the whole account can lose standing, and every project in that region suffers. PostHog's sending allowances exist to protect that shared account.

Why sending allowances exist

Each project has a sending tier that caps its daily marketing volume. A new project starts at tier 0, or at tier 3 in an organization with a paid subscription and good billing standing, and moves up one tier at a time as it sends with low bounce and complaint rates. The exact tiers are in limits.

This is not IP warming. The IP addresses are already warm. The allowance exists for two other reasons:

  1. It protects the shared account. A project with no sending record is the most likely source of a bad send, such as an old or bought list. A small first allowance keeps the damage small while complaint feedback arrives, which can take hours.
  2. It matches how mailbox providers learn to trust a domain. A domain that suddenly sends at high volume looks like a spammer, even on a warm IP address. Providers expect a new sender to grow its volume over several weeks. The tiers grow at about that speed.

The allowance also shrinks when a project stops sending. Mailbox providers keep roughly a month of reputation history. A domain that has been quiet for a month has no current record, so a high allowance from months ago no longer shows what is safe today. A project that stops sending loses one tier for each 30 days without sends.

Transactional email counts toward the allowance, but it never waits for it. For the reasons, see marketing vs. transactional email.

Subdomain isolation

Mailbox providers score subdomains partly on their own. A team that sends both marketing and transactional email can use this to keep the two reputations apart:

  • news.example.com for newsletters and campaigns.
  • account.example.com for password resets, receipts, and sign-in codes.

Marketing email gets more complaints than transactional email, because more people did not expect it. If a campaign causes a complaint spike, the marketing subdomain takes most of the damage. The subdomain that sends password resets keeps its standing.

Subdomains share the reputation of the parent domain to a degree, so this reduces the risk but does not remove it. Within one PostHog project, both streams also share one tier, one allowance, and one SES tenant. To separate those too, send each stream from its own project.

What feedback loops can and cannot see

A complaint is when a recipient clicks "Report spam". Some mailbox providers tell the sender about each complaint through a feedback loop (FBL). Yahoo and Microsoft Outlook run feedback loops. Amazon SES passes each complaint to PostHog, which adds the address to your suppression list and counts it in your complaint rate.

Gmail does not run a per-message feedback loop. When a Gmail user reports your email as spam, nobody tells PostHog or Amazon. Gmail still counts the complaint against your domain, and it uses those complaints to place your future email in the spam folder.

This has two effects:

  • Your complaint rate undercounts. The rate on the Reputation tab only includes providers that report complaints. If most of your recipients use Gmail, your real complaint rate can be higher than the number shows.
  • Silent damage is possible. A list with many Gmail addresses can drift into the spam folder while your complaint rate looks clean.

That is why list hygiene matters more than the number. Send only to people who asked for your email, make unsubscribing easy, and remove people who never engage. Test important sends to a personal Gmail account to see where they land. Google's Postmaster Tools shows the spam rate that Gmail sees for your domain.

DNS coexistence during migration

Your domain reputation belongs to your domain, so it moves with you when you change providers. Mailbox providers still notice when a domain starts to send from new infrastructure. A sudden switch of all your volume can look unusual, so a gradual move is safer.

DNS lets two providers send for the same domain at the same time:

  • DKIM records coexist. Each provider uses its own selector names under _domainkey, so each provider signs its own email with its own key.
  • SPF records merge. You add include:amazonses.com to your existing SPF record. You never add a second SPF record.
  • The bounce subdomain is separate. PostHog's feedback subdomain does not affect the return path of your old provider.

This lets you move one stream at a time, starting with transactional email and your most engaged recipients, while your old provider sends the rest. Remove the old provider's records only after its last email goes out. For the steps, see move from another provider. Amazon's guide to migrating to Amazon SES has more background.

Still have questions?

Was this page useful?