Hi Gonçalo,
The email is registered on the User entity so you just need to make a query to get the email of the user.

If your user is already logged in, you can apply the filter User.Id = GetUserId() (GetUserId() is a function that returns the user id logged-in).
If your user has not logged-in yet and you have just the username, for instance, your filter on the query should filter by the username.
Regards,
João