As an User with Read permission
I want to view a email document
So that I can perceive the email content and attachments
Proposed solution
When a user navigates to a email message the layout of this document type should be focus on the most relevant data from the email.
There will be no edit action on these documents. So there is no import/create/edit layouts.
Acceptance criteria
Given I have read permission on a Email Folder document
When I press a email message
Then I view the email
Given I have read permission on an email message
When I navigate to that document
Then I can see the html preview of the mail in the preview area
Given I have read permission on an email message
When I navigate to that document
Then I can see a switch html/txt on email preview
Given I have read permission on an email message and am on that document
When I click on text preview
Then I see a textual version of the mail content
Given I have read permission on an email message
When I navigate to that document
Then I see the message attachments and metadata
Given I have read permission on an email message
When I navigate to that document
Then I see a full screen (dialog) action
Given I have read permission on an email message
When I navigate to that document
Then I see collection & favorite & share & follow & clipboard & lock & export actions