This question evaluates system design competency across distributed architecture, SMTP ingestion and mail pipelines, data modeling for ephemeral inboxes and attachments, scalability, security and abuse mitigation, observability, and operational trade-offs.
Design a production-grade disposable/temporary email service for web/mobile clients. Anonymous users can create randomized inbox addresses that auto-expire after a configurable TTL (e.g., 10–60 minutes). The service must receive messages via SMTP (including attachments) and expose a simple UI/API to view messages before expiry.
Design the system to cover:
State assumptions if needed and justify key trade-offs.
Login required