Hey there @auth0rocks welcome to the community (sweet username
)!
This will involve using the Management API to search for the user’s email at which point I believe you’d have the information you need.
Here’s some info on how to use the Management API in Actions:
https://community.auth0.com/t/how-can-i-use-the-management-api-in-actions/64947
And on caching tokens in Actions:
https://community.auth0.com/t/caching-management-api-access-tokens-in-login-action/95855
Hope this helps!