handled Exception if User ID is not obtained
Handled code to throw an exception if accounts scope is not included in the generated grant token or when user email cannot be fetched with the generated access token
Handled code to throw an exception if accounts scope is not included in the generated grant token or when user email cannot be fetched with the generated access token