code: def send_reset_password_email(self, user, user_email):
          
  
          # Verify config settings
          if not self.user_manager.USER_ENABLE_EMAIL: return
          assert self.user_manager.USER_ENABLE_FORGOT_PASSWORD
  
          # The reset_password email is sent to a specific user_email.email or user.email
          email = user_email.email if user_email else user.email
  
          # Generate a reset_password_link
          token = self.user_manager.generate_token(user.id)
          reset_password_link = url_for('user.reset_password', token=token, _external=True)
  
          # Render email from templates and send it via the configured EmailAdapter
          self._render_and_send_email(
              email,
              user,
              self.user_manager.USER_RESET_PASSWORD_EMAIL_TEMPLATE,
              reset_password_link=reset_password_link,
          )
docs: Send the 'reset password' email.