https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

09/12/2021, 4:55 AM
@User You can use the
await ThirdPartyEmailPassword.getUserById(..)
function which will return the user object that contains the email like this:
Copy code
let user = await ThirdPartyEmailPassword.getUserById(userId);
let email = user.email