When I turn off the email for "A member sends you a new message"

Turn an e-mail of my settings on or off ("Settings", "Email": "Yes, send email" or "No, do not send email" for an event), and save the settings; the choice comes back when the scenario ends.

Examples

When I turn off the email for "A member sends you a new message"
And I turn on the email for "A member sends you a new message"
When we turn off the email for "A member sends you a friendship request"
And I turn off the email for "A member invites you to join a group"
When I turn on the email for "A member sends you a friendship request"

Pattern

When(/^(I |we )*turn (on|off) the email for "([^"]*)"$/, …)

Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.