Custom password/reset service

I’ve already have 2 scripts, in both i call to user/password?reset=true and send the same email with the default template. how can i specify to the 2nd script to send the forgot email but with a different template?