get users email
# support-questions
k
Is there a simple way of retrieving a user email once they've signed in in the same way you retrieve userId with
await Session.getUserId()
? I couldn't see how to do it from the Get User Info documentation: https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/get-user-info
r
hey @Kranos
you can add the user's email into their access token payload by overriding the createNewSession function. This way, you can access the email just like you access the userId
k
Awesome, thanks - I'll take a look!