Communication
Gmail
Create and configure a Google Cloud Platform project for Gmail
7 min
this section is optional and applies only if you're using your own google cloud project client credentials, which requires switching on the a dvanced settings toggle when creating the connection to connect to {{product name}} using your own client credentials, you need to create and configure a project in the google cloud platform create a google cloud platform project for gmail to create a google cloud platform project log in to the google cloud platform https //console cloud google com/ using your google credentials on the welcome page, click create or select a project > new project if you already have a project, proceed to step 5 below change the default project name and project id , if needed select the location for your project, and click create on the top panel, next to the google cloud logo, click select a project in the next window, click the project you just created you'll now see the google cloud platform project you've created o n the top panel, next to the google cloud logo to create a new project or work in the existing one, you need to have the serviceusage services enable permission if you don’t have this permission, ask the google cloud platform project owner or project iam admin to grant it to you enable apis for gmail to enable the required apis in the left sidebar of the google cloud platform, click apis & services > library search for the following api gmail api click gmail api , then click enable if you see the manage button instead of the enable button, you can proceed to the next step the api is already enabled your api is now enabled configure your oauth consent screen for gmail if you are using an email address that ends with @gmail or @googlemail , your connection will expired after 6 months to reauthorize your connection, click reauthorize in the connections section to configure your oauth consent screen in the left sidebar of the google cloud platform, click apis & services > oauth consent screen click get started in the overview section u nder app information , enter make as the app name, enter your gmail address, and click next under audience , select external , and click next for more information regarding user types, refer to google's exceptions to verification requirements documentation under contact information , enter your gmail address, and click next under finish , agree to the google api services user data policy , and click continue , then create in the next window, click create oauth client you'll be redirected to the clients tab you can skip it for now or refer to the create your client credentials https //apps make com/create and configure a google cloud platform project for gmail#jov g section to configure it i n the branding section u nder authorized domains, click +add domain a dd make com and integromat com click save optional in the audience section, add your gmail address on the test users page, then click save and continue if you want the project to remain in the testing publishing status read the note below to learn more about the publishing status publishing status testing if you keep your project in the testing status, you will be required to reauthorize your connection in make every week to avoid weekly reauthorization, update the project status to in production in production if you update your project to the in production status, you will not be required to reauthorize the connection weekly to update your project's status, go to the google auth platform , the audience section, and click publish app if you see the notice needs verification , you can choose whether to go through the google verification process https //support google com/cloud/answer/13463073?authuser=1\&visit id=638718595933013017 1855034908\&rd=1 for the app or to connect to your unverified app currently connecting to unverified apps works in make, but we cannot guarantee the google will allow connections to unverified apps for an indefinite period for more information regarding the publishing status, refer to the publishing status section of google's setting up your oauth consent screen help https //support google com/cloud/answer/10311615#zippy= in the data access section, click add or remove scopes , add the following scopes https //www googleapis com/auth/gmail modify https //www googleapis com/auth/gmail readonly https //www googleapis com/auth/gmail compose https //www googleapis com/auth/gmail send you can add scopes using a table with filters a window to manually enter scopes click update click save create your gmail client credentials to create your client credentials in the left sidebar of the google cloud platform, click apis & services > oauth consent screen go to the clients section, and click +create client under create oauth client id in the application type dropdown, select web application in the name field, update the name of your oauth client this will help you identify it in the console afterward under the authorized redirect uris, click + add uri and enter the required redirect uri https //www make com/oauth/cb/google email click create you'll see a message that the oauth client has been created c opy your client id and client secret values, and store them in a safe place click ok you will use these values in the client id and client secret fields in {{product name}} create the connection in {{product name}} log in to your {{product name}} account, add a gmail module to your {{scenario singular lowercase}} , and click create a connection optional in the connection name field, enter a name for the connection switch on the a dvanced settings toggle and enter your client id and client secret that you created in the previous create your client credentials https //apps make com/create and configure a google cloud platform project for gmail#jov g section click sign in with google if prompted, authenticate your account, grant all requested permissions, and confirm access you've successfully created the connection and can now use the gmail app in your {{scenario plural lowercase}} if you want to make changes to your connection in the future, follow the steps connect an application docid\ so88fm6pkt0g adkddfzz