Using OATH, Google email accounts and Office 365 email accounts can be connected to Contact Center. The most important aspect for this is the creation and set up of Azure credentials. This set of articles explains how.
The general steps for creating Azure credentials are:
Register an application with Azure and create a service principal
Obtain tenant and app ID values for signing in
Add permissions