Using OAuth2 for Gmail API server to server application — Using Gmail API can be a pain. Contrary to Google Sheets, Google Cloud Storage, Google Cloud Vision, and Gmail belong to someone, our bot should act on behalf of this someone and should, therefore, be authenticated as this someone. Yes… we need OAuth2. This article is divided as follows : …