Capture customgpt user email

I have built a customgpt and I want it to gather and validate email address of the user. Also limit the usage to authorized email ids. Is it possible?