# Welcome Email -\> Password Change

**URL:** <https://community.auth0.com/t/welcome-email-password-change/77645>\
**Category:** Get Help\
**Created:** [February 3, 2022, 8:07pm UTC](https://community.auth0.com/t/welcome-email-password-change/77645 "2022-02-03T20:07:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhouse](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mhouse/32/33605_2.png) [@mhouse](https://community.auth0.com/u/mhouse)\
**Post date:** [February 3, 2022, 8:07pm UTC](https://community.auth0.com/t/welcome-email-password-change/77645/1 "2022-02-03T20:07:56Z")

</div>

I was looking at this thread where it suggested that we could commandeer the ‘forgot password’ functionality of the Management API to send a user an email that welcomes them and prompts them to change their password:

> [@Sending Email Invitations For Application Signup](https://community.auth0.com/t/sending-email-invitations-for-application-signup/57326):
>
> Hi Auth0 Community! I’m trying to implement [Send Email Invitations for Application Signup](https://auth0.com/docs/auth0-email-services/send-email-invitations-for-application-signup), but am confused on a few things. For context; I am allowing Admin users to create new users using the Management API, using the new user’s email and setting a random password, with the email\_verified flag set to false. I’ve read the docs linked about 42.5 times, and still cannot seem to understand where to go from there. When the user is created, right now, an email is automatically sent for them to ver…

My question is how can we retain the functionality of the ‘forgot password’ endpoint? It would be strange for my current users to receive a welcome email template prompting them to change their passwords as if they’re new users.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 7, 2022, 4:23pm UTC](https://community.auth0.com/t/welcome-email-password-change/77645/2 "2022-02-07T16:23:53Z")

</div>

Hi @mhouse , welcome to the community!

There are two main approaches here:  
A.) modifying your Change Password email template to make sense in both a password reset and a new user context, so regardless of how the email was triggered, it won’t be confusing for the end user.  
E.g. something like: _“Please use this link to reset your password, if you are creating a new account, please use the link to set up your password”_

B.) Using the Management API to generate a password reset ticket ( this ticket is the URL that is generated in the normal change password email for you normally ), which could be sent with a completely bespoke email outside of Auth0 to the user as your sign up invitation email.  
This would typically require you to make a custom script/app that could fetch a Management API token, request a password reset ticket for the relevant user, then call your email provider’s API to send a “sign up” email with the ticket URL appended.

This allows you to separate the “out of the box” forgot password functionality (and email template) from your sign up flow.

- [Auth0 Management API v2](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change)

On a related note, the newly added Organisations feature also allows for a built-in invite flow too, with its own email template:

- [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations)
- [Invite Organization Members](https://auth0.com/docs/manage-users/organizations/configure-organizations/invite-members)

I hope that has helped!

---

<div class="post-metadata">

**Author:** ![mhouse](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mhouse/32/33605_2.png) [@mhouse](https://community.auth0.com/u/mhouse)\
**Post date:** [February 7, 2022, 7:11pm UTC](https://community.auth0.com/t/welcome-email-password-change/77645/3 "2022-02-07T19:11:36Z")

</div>

Thank you for the welcome and reply sgo.

I presented to my team the first option you suggested and that’s what we’re going with for the time being.  
I am also working to develop an Amazon SES solution using a custom form hosted by our application and will likely use the management client’s API to change their password.  
On that same topic, I wanted to mention real quick that it appears Auth0’s documentation for the management client is down and I wasn’t able to find another copy:  
[https://auth0.github.io/node-auth0/module-management.ManagementClient.html#deleteUser](https://auth0.github.io/node-auth0/module-management.ManagementClient.html#deleteUser)

Thank you,  
MH

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 22, 2022, 7:11pm UTC](https://community.auth0.com/t/welcome-email-password-change/77645/4 "2022-02-22T19:11:50Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
