good morning. i am using email/password login and ...
# support-questions-legacy
s
good morning. i am using email/password login and i want to add the email to the token. i believe i am supposed to use this, but my python skills are not as great as they should be, so i'm unsure how to access the email field. would it be in the user_context: https://supertokens.com/docs/emailpassword/common-customizations/sessions/claims/access-token-payload#during-session-creation
r
you can get the email from the user ID, but using the get_user_by_id function from your recipe