# Sending Email Invitations For Application Signup

**URL:** <https://community.auth0.com/t/sending-email-invitations-for-application-signup/57326>\
**Category:** Get Help\
**Tags:** reset-password, signup, email-verification, password-reset, verification-email\
**Created:** [February 4, 2021, 5:29am UTC](https://community.auth0.com/t/sending-email-invitations-for-application-signup/57326 "2021-02-04T05:29:40Z")\
**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:** [February 4, 2021, 6:18pm UTC](https://community.auth0.com/t/sending-email-invitations-for-application-signup/57326/3 "2021-02-04T18:18:52Z")

</div>

Hello @brady!

You can accomplish this with a Post User Registration Hook and customizing the Password Change email template.

1. In the email template section of your dashboard, disable the “Welcome Email” template and the “Email Verification” template by turning off the “Status” toggle. Make sure that “Change Password” is enabled.
2. Go to _Hooks_ and scroll down to “Post User Registration” and click “Create new hook”
3. Use the following code to send a password reset email whenever a user is manually created for your tenant:

```auto
module.exports = function (user, context, cb) {
  var auth0 = require('auth0@2.32.0');
  var authClient = new auth0.AuthenticationClient({
    domain: 'example-connections.us.auth0.com',
    clientId: 'YOUR_APP_CLIENT_ID',
    clientSecret: 'YOUR_APP_CLIENT_SECRET',
  });

  var userAndConnection = {
    email: user.email,
    connection: 'Username-Password-Authentication',
    connection_id: context.connection.id,
  };

  authClient.requestChangePasswordEmail(userAndConnection, function(err){
    cb(null, user, context);
  });
};

```

Now when a user is created using the Management API an email will be sent inviting them to change their password.

You will then need to update the email template to make it look more like a welcome email than a change password email. Here are docs on customizing email templates: [Customize Email Templates](https://auth0.com/docs/auth0-email-services/customize-email-templates)

Related topic: [Authenticate and prompt user password change with a single email](https://community.auth0.com/t/authenticate-and-prompt-user-password-change-with-a-single-email/57221)

---

_[View the full topic](https://community.auth0.com/t/sending-email-invitations-for-application-signup/57326)._
