User email passed in custom code block

hi team! my app takes a question input from a user on the homepage, which is a custom code block.

i take the question input and use gpt to turn it into a response.

i want to now take the question input AND the email of the logged in user.

is there a way to do this?

remember this is a custom code block.

ty for any help!