When a user clicks on an email in the list, the main content area should display the content of the selected email. This involves:
- Adding state to track the selected email.
- Creating a click handler to update the state.
- Conditionally rendering the selected email's details in the main view.