Gmail

Gmail is a free email service provided by Google. With Gmail, you can send and receive emails, block spam, create an address book, and perform other basic email tasks.

Authorization

OAuth2

Google APIs use the OAuth 2.0 protocol for authentication and authorization. Google supports common OAuth 2.0 scenarios such as those for web server, client-side, installed, and limited-input device applications.

You can obtain OAuth 2.0 client credentials from the Google API Console. Then you will get a client application that requests an access token from the Google Authorization Server. It will extract a token from the response, and send the token to the Google API that you want to access. For more details about using OAuth 2.0 for authentication, see OpenID Connect.

Under authorized redirect URIs enter Sapper's OAuth 2.0 callback URL: https://automation.sapper.ai/#/signup click create.

Gmail Connections

Gmail OAuth2.0 Connection

Input 

Key 

Description

Example

Select application

application

Select Gmail application

 

Connection type

connection type

Select the type of connection.

 REST

REST connection type

rest connection type

Select the type of REST connection.

 OAuth2.0

Connection name

name

Provide a name for the connection.

 Gmail connection

Connection description

description

Provide a description for the connection.

 

Host name

host 

Provide a string value for the URL of user's Gmail account.

 

Grant type

grant type

Provide the grant type - authorization code, password, client credentials.

 

 

Actions 

Send Mail

Send Mail | key: sendMail

Input

Key

Description

Example

Input

Key

Description

Example

To address

Address

Provide an appropriate Gmail address for sending the mail.

 Sample@gmail.com

Subject

Subject

The subject field is a brief description of the email message. It displays in the recipient's inbox before they open the message.

“You're missing out on points”

Message

Message

Provide an appropriate message.

 Sending sample