Design a REST API for an email client.
- What resources would there be and how do they relate to each other? What attributes would these resources have?
- What endpoints (HTTP method and URL) would you have? Briefly describe what they would be used for.