Create a SPA that:
- Displays list of emails
- Allows the user to see a preview of each email. The user should be able to toggle the HTML and plain versions
- HTML version is rendered correctly with styles
- Plain version is rendered raw with line breaks preserved
- Has unit tests