Sending custom emails from hooks (not using templates)

I am wondering whether is possible to send custom emails through the hooks (we’re using the SMTP provider). I’m wanting to send an email to notify admin when someone signs up. I’m guessing not as I cannot find anything like that, but thought I’d check.

Thanks,
Laura

Hey @auralay, thanks for posting to Auth0 Community.

You can in fact send custom emails from Hooks, Rules extension points.
Do note the implementation will vary according to the email provider you choose.
We have a sample rule to indicate this functionality:

I have tried in past similar code as in the link above on the Post Change Password Hook, and I was able to send an email on successful user signup.

Do try it and let me know how you go!