Send to Gmail
The Send to Gmail connector sends the scanned document to a Gmail account. To use this connector, create a service account and authorize it to access the user's Gmail data.
Creating a service account
-
Login to "https://console.developers.google.com".
-
Enable Admin SDK, Gmail API and Google People API.
-
When creating a service account, be sure to enable G Suite domain-wide delegation.
-
After creating a service account, the new public/private key pair is generated and downloaded to the computer as a JSON file.
-
Be sure to write down the Client ID displayed when "View Client ID" next to the service account is clicked. You will need it when specifying the API scope.
Managing API client access
-
Login to "https://admin.google.com".
-
In the "Manage API client access" screen, specify the API scope as follows:
https://www.googleapis.com/auth/gmail.send
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/contact.readonly
https://www.googleapis.com/auth/admin.directory.user.readonly
To configure the properties of the Send to Gmail connector:
-
In the Delivery Flow, click the [Send to RightFax] connector icon
-
On the [Send to Gmail] tab, enter the display name in [Display Name].
-
In [Email System Settings], upload the private key file, and configure the authentication method and proxy server.
-
In [Send to Email Option Settings], configure the file attachment method, file naming convention, and email text. You must enter some default text in the Body field. If the message body is empty, the email is rejected by the Gmail server and the process fails.
The message body MUST contain text; otherwise, the message will not be sent.
-
In [Email Search Settings], enable or disable search methods.
-
Save your changes to the workflow.
Refer to Send to Gmail Settings.