# Sending password change email instead of verification email for a new user

**URL:** <https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713>\
**Category:** Get Help\
**Tags:** jwt, api, rules, auth0\
**Created:** [January 5, 2021, 11:18am UTC](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713 "2021-01-05T11:18:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vignesh.ramesh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vignesh.ramesh/32/12799_2.png) [@vignesh.ramesh](https://community.auth0.com/u/vignesh.ramesh)\
**Post date:** [January 5, 2021, 11:18am UTC](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713/1 "2021-01-05T11:18:14Z")

</div>

Hello!!!

I am new to Auth0 and I am working on integrating the Auth0 with my NodeJS app. I have checked the quick start and came to know how to setup Auth0 with my NodeJS app and also I came to know how to create API in Auth0 and integrate with my App.

Now my doubt is whenever I add a new user under user management in Auth0, a verification email is sent to the user but instead of the verification email I want the user to get password change email is this possible to achieve ?

Since I am new to Auth0 is there a way for me to find step by step process to achieve it.

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [January 5, 2021, 2:19pm UTC](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713/3 "2021-01-05T14:19:25Z")

</div>

Hi @vignesh.ramesh,

Here is an approach you could take to send a password reset email instead of email verification when adding users :

## **1. Disable the verification email template**

Go to **Emails \> Email Templates** in your Auth0 dashboard. Toggle off Status on the Verification Email template

 ![turn-off-verification-email](https://global.discourse-cdn.com/auth0/original/3X/4/f/4f2ee9d48eeb905c8f82b5f57a1c4f6b8e5e64a5.png)

## **2. Create a Hook to send the reset password email on Post User Registration**

Go to **Hooks** in your Auth0 dashboard. Click the “+ CREATE A HOOK” button. Give the hook a name, select “Post User Registration” from the drop down, and click “Create”.

Click on the pencil icon to edit your new hook.

 ![pencil](https://global.discourse-cdn.com/auth0/original/3X/f/2/f2ffdb406ea626415b6aa858972c07eab3b7661c.png)

Add auth0 as an NPM module by clicking on the wrench icon on the top left of the editor:

 ![add-module](https://global.discourse-cdn.com/auth0/original/3X/6/4/64de85df351908f82fee0bf07850a9806a77dcc2.png)

And paste this code into the editor (update the domain and Client ID):

```auto
module.exports = function (user, context, cb) {
  const auth0 = require('auth0');
  const authClient = new auth0.AuthenticationClient({
    domain: '', // Add your domain here (you can find your domain from your application settings)
    clientId: '' // Add your app's Client ID here (you can find the Client ID from your application settings)
  });

  const userAndConnection = {
    email: user.email,
    connection: 'Username-Password-Authentication'
  };

  authClient.requestChangePasswordEmail(userAndConnection, () => {
  cb(null, user, context);
  });
};

```

Here’s a related topic as well: [https://community.auth0.com/t/invite-only-flow-using-hook/11179/2](https://community.auth0.com/t/invite-only-flow-using-hook/11179/2)

Let me know if you have any trouble!

Stephanie

---

<div class="post-metadata">

**Author:** ![vignesh.ramesh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vignesh.ramesh/32/12799_2.png) [@vignesh.ramesh](https://community.auth0.com/u/vignesh.ramesh)\
**Post date:** [January 5, 2021, 2:53pm UTC](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713/4 "2021-01-05T14:53:45Z")

</div>

Hello Stephanie!!!

Thanks for providing me the solution. I works fine completely.

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [January 5, 2021, 2:54pm UTC](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713/5 "2021-01-05T14:54:27Z")

</div>

That’s great to hear it is working for you!

---

<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:** [January 20, 2021, 2:54pm UTC](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713/6 "2021-01-20T14:54:30Z")

</div>

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