Is it possible to check oauth email before creating an account?

In my app users must be invited in order to create an account. On the invite page, they have an option to create an account with email otp or with google oauth. When users use oauth, I want to be able to check that the email of the oauth account matches the invitation. Is there any way to get this email address using hooks?
Was this page helpful?