The new email helpers introduced in [#7813] will error when email=None
. This can happen for example when entering a bogus email address into the password reset form when the .ini config has 'auth.allow_non_primary_email_password_reset' set to False.
db/7819