Assert the community sent (since the scenario began) a mail to an account of the users registry, or to an address, whose subject holds some words; the site's name it puts first ("[Webship Community] ") aside.
Examples
Then a community mail "New friendship request from Newcomer Test" should be sent to "member"
And a community mail "New message from Organizer Test" should be sent to "member"
Then a community mail "Membership request for group: Design Circle" should be sent to "organizer"
And a community mail "replied to one of your updates" should be sent to "organizer"
Then a community mail "New friendship request" should be sent to "member@example.com"
Pattern
Then(/^a community mail "([^"]*)" should be sent to "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.