How bounces, complaints, and suppressions work

PostHog's job does not end when it hands an email to Amazon SES. The recipient's mail server can still accept it, delay it, or refuse it, and the recipient can still report it as spam. Each of those outcomes comes back to PostHog, and PostHog uses them to protect your sending record.

This page explains that feedback loop: what happens after an email leaves PostHog, how bounces and complaints turn into suppressions, and how PostHog escalates when rates spike. For the steps to manage your list, see suppression list.

What happens after an email leaves PostHog

  1. PostHog hands the email to Amazon SES. This is the $workflows_email_sent engagement event.
  2. SES delivers it to the recipient's mail server. The server accepts it, refuses it for a short time, or refuses it for good.
  3. The result comes back. A refusal returns as a bounce message to your bounce subdomain, feedback by default. SES also reports deliveries, bounces, and complaints to PostHog.
  4. PostHog records the outcome. It updates the delivery status, records engagement events such as $workflows_email_delivered or $workflows_email_bounced, updates your suppression list, and counts the outcome in your sending health.

A complaint can arrive hours or days after the delivery, because it waits on a person who opens the email and clicks "Report spam". Check the rates a day after a big send, and keep watching over the next few days as late complaints arrive.

Hard bounces and soft bounces

A bounce means the recipient's mail server refused the email. The reason decides what PostHog does next.

Hard bounce: a permanent failure. The mailbox does not exist, the domain does not exist, or the server refuses mail for good. Another attempt gives the same result, so PostHog adds the address to your suppression list after the first hard bounce.

Soft bounce: a temporary failure. The mailbox is full, or the server is down or busy. The address can work again later, so one soft bounce does not suppress it. PostHog counts soft bounces for each address. After 5 soft bounces in a row, with no successful delivery between them, PostHog suppresses the address. A successful delivery resets the count to zero.

The count of 5 separates a mailbox that is full this week from a mailbox that nobody reads anymore. An abandoned mailbox often fills up and stays full, so it soft-bounces every time.

Checks before the send

Some bounces are predictable. Before PostHog sends an email, it checks that:

  • The address has a valid format (a malformed to address fails request validation with 400).
  • The domain of the address can receive email: it has mail servers (MX records), or an A/AAAA record fallback when no MX record is published.

An address whose domain fails the mail-server check would hard-bounce, so PostHog does not send to it. A transactional API call returns 422 recipient_unreachable, which usually means a typo. The check stops the bounce before it counts against your bounce rate. When a DNS lookup fails for a temporary reason, PostHog sends the email anyway, so a DNS problem does not block good addresses.

Your suppression list and shared hard-bounce records

Each project has its own suppression list. Three kinds of entries go on it:

  • Bounces, from hard bounces and from repeated soft bounces.
  • Complaints, from people who reported your email as spam.
  • Manual entries, which you add in PostHog or through the suppressions API.

The list belongs to your project. Another project's complaints never go on your list.

Hard bounces are different, because a dead address is dead for every sender. PostHog also keeps a record of hard bounces across projects. A later delivery to the address ends its record, for example when someone creates the mailbox again. This record lets PostHog recognize known-dead addresses without each project having to discover them one bounce at a time.

Suppression precedence: marketing vs. transactional

A suppression entry does not block all email. What it blocks depends on what the entry proves.

EntryBlocks marketing emailBlocks transactional emailWhy
Hard bounceYesYesThe server refused the address for good. Any send bounces again.
Repeated soft bouncesYesNoThe address probably stopped working, but a temporary failure does not prove it.
Spam complaintYesNoThe person does not want your marketing. They still need their password reset.
Manual entryYesNoYou chose to stop marketing to them.

The rule follows one idea: only a hard bounce proves that the address cannot receive email. Soft bounces, complaints, and manual entries are strong signals, but none of them proves that an important email will fail. A person who reported your newsletter still needs their receipt or sign-in code.

A transactional send to a hard-bounced address fails with 422 recipient_suppressed. Don't retry it. An entry that you add through the API with the reason bounce, such as a bounce that you import from another provider, also blocks transactional email.

Escalation when rates spike

Most problems stay small. The suppression list handles individual bad addresses. When a problem is larger than a few addresses, PostHog responds at a wider scope.

  1. Address level. PostHog suppresses each address that hard-bounces, soft-bounces repeatedly, or complains. Your list cleans itself, and the same address cannot hurt your rates twice.
  2. Tier level. PostHog reviews each project once a day. If the bounce or complaint rate over the last 7 days is above the healthy range, the project drops one tier, which lowers its daily allowance. After a drop, PostHog waits 7 days before it drops the project again for the same reason. One incident costs one step, not the whole ladder.
  3. Workflow level. When the rates of one workflow spike, PostHog can pause email from that workflow alone. Its sends fail with sending_paused. The rest of your email keeps going.
  4. Project level. A severe problem, or one that threatens the shared account, can suspend all email from the project. PostHog or Amazon SES can do this. Sends fail with sending_suspended, and a banner in PostHog asks you to contact support. When sending starts again, the project starts again at tier 0.

The healthy range is a hard bounce rate under 2% and a spam complaint rate under 0.1%. PostHog judges a rate only once your volume is large enough for the rate to mean something, so a few unlucky sends do not decide it. For the tiers, see limits.

Each step protects a wider group. The address step protects your record. The tier and workflow steps limit how much harm one bad list or one bad workflow can do. The project step protects every other project that shares the regional SES account.

The steps are scopes, not a fixed sequence. A severe problem can go directly to a workflow pause or a suspension.

Still have questions?

Was this page useful?