code: def send_reset_password_email(person):
      
      uid = urlsafe_base64_encode(force_bytes(person.pk)).decode("ascii")
      token = default_token_generator.make_token(person)
      url = '%s/persons/reset/%s/%s/' % (
          settings.REGISTRATION_BASE_URL, uid, token)
  
      context = CONTEXT.copy()
      context.update({
          'url': url,
          'receiver': person,
      })
  
      to_email = person.email
      subject, body = render_email('reset_password', context)
  
      send_mail(subject, body, settings.ACCOUNTS_EMAIL, [to_email])
docs: Sends an email to user allowing them to set their password.