code: def change_email(self, email):
          
  
          def cb():
              if not utils.is_email_valid(email):
                  raise exceptions.AuthError("Email address invalid")
              self.user.change_email(email)
              return email
  
          return signals.user_update(self, ACTIONS["EMAIL"], cb,
                                     {"email": self.email})
docs: Change user's login email
          :param user: AuthUser
          :param email:
          :return: