The webmail shows the account that is logged in (the address at the top of the menu).
Examples
Then I should be logged in to the webmail as "alice@example.com"
Then we should be logged in to the webmail as "bob@example.com"
And I should be logged in to the webmail as "alice@example.com"
Then I should be logged in to the webmail as "alice"
Then I should be logged in to the webmail as "bob"
Pattern
Then(/^(?:I|we) should be logged in to the webmail as "([^"]*)"$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.