In this post, we will create a new project and enable the Gmail API in Google Cloud Platform (GCP).
Prerequisites
Create a New Project in GCP
Open the Google Cloud Console. On the top you see select a project
. Click on it and Create New Project
.


Give a descriptive name of your project and click on Create.

You will be redirected to the Dashboard
with your new project selected. If your project is not selected, make sure you select from the dropdown.

Enable a Google Workspace API
On the left side menu, click on APIs and Services
.

Click on Enable APIs and Services
.

In the search field, type Gmail API and select it.

Click on Enable
.

When API is enabled, it will take you to the Overview Page.
