# 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:** 1\
**Showing post:** 3

<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

---

_[View the full topic](https://community.auth0.com/t/sending-password-change-email-instead-of-verification-email-for-a-new-user/55713)._
