When in the custom database (https://manage.auth0.com/#/connections/database), when you create a user, the function only gives you access to email but not user_id. When you delete a user, the function only gives you access to the auth0 Id.
I need to either use email or auth0 ID to query the database when I create a user and delete one, how can I do this so creating a user will have auth0 ID …or… deleting a user provides me the email?
**Other solution, how can I query auth0 using a GET request to obtain the user_id when I only have their email? **
Ok, great! In the mean time I will check about your questions regarding the database action scripts . Good luck! Let me know when you get back to this part and we can see what we can do.