Hi @nkr,
Using the management API library for node will make life a lot easier.
Check out the best practices for using the library in rules:
Here is the doc for that library, specifically the email verification function.
http://auth0.github.io/node-auth0/module-management.ManagementClient.html#sendEmailVerification
Let me know if this answers your question!