I implemented Decoupled Drupal in one of my projects, one of the features I need to implement is a
forget password feature. So I created a custom route to listen to reset password requested.
I know I can create a reset password URL with
user_pass_reset_url(); I can generate this link and programmatically set the email to that user, but I am looking for a service or Drupal core functionality to achieve this job.
How can I programmatically send a reset password email?