A message of the list, by its subject, is read or unread, flagged or not flagged.
Examples
Then the message "Webship weekly report" should be unread
Then the message "Lunch on Friday" should be flagged
And the message "Webship news: November" should be read
Then the message "Webship weekly report" should be not flagged
Then the message "The test plan, attached" should be read
Pattern
Then(/^the message "([^"]*)" should be (read|unread|flagged|not flagged)$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.