@step(STEP_PREFIX + r'<STR_LIT>')<EOL>def email_broken(self):
mail.EmailMessage.send = broken_send<EOL>
Cause sending email to raise an exception.

This allows simulating email failure.

Example:

.. code-block:: gherkin

    Given sending email does not work