Enable APIs on GCP
January 8, 2023 ยท View on GitHub
The APIs listed below are free to use.
Gmail API
Navigate to this link: https://console.cloud.google.com/marketplace/product/google/gmail.googleapis.com
Click to "ENABLE" button.

If the process was successful, you will see the following screen:

The Gmail API is enabled.