Notify users when their account is made with the API

Hi,

I have a application that creates users with the API (https://docs.atlassian.com/software/jira/docs/api/REST/7.10.1/#api/2/user-createUser). I was wondering if it is possible to send a email to those users that their account was made. Or a email with a password reset?

Thanks