The interview problem
Build an email-status service that distinguishes send acceptance, delivery, bounce and complaint while avoiding repeated sends to invalid addresses.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
Assume a provider emits asynchronous events and recipients have valid subscription preferences. Store message ID, recipient binding and send purpose. Deduplicate provider events and update a state history rather than assume arrival order is lifecycle order. Permanent bounces and complaints update a scoped suppression policy; transient failures follow bounded retry rules. Recheck suppression immediately before sending.
2. Trace the design or derivation
Check permission and suppression → send → ingest provider events → classify outcome → update future-send policy
Expose accepted, delivered, bounced, complained and unresolved counts with the same cohort and observation window. A recent cohort naturally has more unresolved outcomes. A suppression change should carry its reason and source event so support can explain why a send was blocked without revealing unrelated recipient history.
3. Calculate the example
A batch has 10,000 provider-accepted messages, 9,700 delivery events and 200 permanent bounces. The remaining 100 are unresolved, not automatically delivered. Delivery indicates the receiving system accepted mail, not that 9,700 people read it.
4. Failure cases and trade-offs
Recycled addresses and corrected typos require a deliberate resubscription path. Global suppression may block legitimate unrelated purposes; overly narrow suppression can keep sending unwanted mail. Open tracking is incomplete and privacy-sensitive, so do not equate opens with unique readers.
5. Validation, follow-ups and self-review
Replay duplicate events and complaints arriving after delivery. Follow-up: how would a transactional receipt differ from marketing mail? Self-review: preserve lifecycle meaning, unresolved outcomes and send-time policy checks.
Sources and related practice
Technical reference: docs.aws.amazon.com — Delivery and bounce event semantics.
Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Design a notification delivery service; Fix a pilot dashboard that counts clicks as completed work.
Continue your preparation
Choose a connected learning path or browse more System design questions. Read our editorial method and attribution policy.