Mark a message of the list with the toolbar's "Mark": read, unread, flagged or unflagged. The message is selected first (which marks it read); what it was comes back when the scenario ends.
Examples
When I mark the message "Webship weekly report" as flagged
When I mark the message "The test plan, attached" as unread
When we mark the message "Lunch on Friday" as unflagged
And I mark the message "Webship weekly report" as read
When I mark the message "Webship news: November" as unread
Pattern
When(/^(?:I|we) mark the message "([^"]*)" as (read|unread|flagged|unflagged)$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.