hard

Design an Email Client

Design an email client application. Include mailbox and folder management, email composition with attachments, search functionality, filter rules for automatic organization, and contact integration.

Suggested time: 45 minutes

Loading the workspace...

About this problem

An email client is a rich OOD problem because it combines concurrent I/O (background sync), tree-structured data (nested folders), rule-based automation (filters), and cross-cutting observer notifications. Before writing any classes, let's define exactly what the system must do.

What your design needs to cover

  • Compose, Send, and Receive Emails

  • Organize Emails into Folders

  • Search Emails

  • Automatic Filtering Rules

  • Contact Management

Key challenges the editorial covers

Learn from other designs

Related problems

Guides