Hi @nkr,
I’m sorry, I misunderstood your first post.
What you’re are trying to do is not recommended due to the nature of single page applications. See more on the topic here.
If you don’t want to use Auth0 Rules to send the email programmatically, you will want to use your backend to access the Management API.
I would be happy to answer any more questions you have on the topic.
Good luck !