Connect your Google account to use Email. One sign-in covers Tasks, Calendar, and Email.
Google OAuth client setup
In Google Cloud Console, create an OAuth 2.0 Web application client, enable the Tasks, Calendar, and Gmail APIs, and add this authorized redirect URI:
https://businessmanager.alijroberts.com/office/google/callback