fix patching flask_mail (again)