Send Email Invitations for Application Signup - Sending emails via API

Hey - I’m unsure how we customize the password reset email given a hook that I have set up to change a password. I’m using this code to generate a hook - Authenticate and prompt user password change with a single email - #4 by Lee_Peters. But given the fact that email template is HTML and there isn’t a parameter that we can send in the authClient.requestChangePasswordEmail function call specifying that it is a set up, I’m confused on how to proceed/customize the template. Thanks