You can access any window-scope JavaScript variable from the page in GTM by using a ‘JavaScript variable’.
Here are the steps to set one up for the customer email, stored in the LittledataLayer
object.
Create a NEW user-defined variable
Select the JavaScript variable type
Add the field in the Global Variable Name using dot notation, like ‘LittledataLayer.customer.email’