For information on specific errors returned from the Gmail API, see the Gmail API reference.
For possible service outages, check the status of the Gmail API.
For issues connecting to your Gmail account:
Go to Settings > Accounts.
Locate the account and then click Reauthorize.
Optionally, delete the account and then add it again.