Use the Tray.io Gmail connector to list, send and download emails as well as change system preferences.
Note: Before authenticating this Google connector, you will need to whitelist the Tray.io Google authentication app. Please follow the instructions here before continuing with the authentication process.
Once this is done, you can click on the New Authentication button:
A window appears displaying what scopes will be requested for your account. Tick accordingly and continue.
After being redirected to Google, click on the Allow button found at the bottom of the window.
The authentication process has been completed and the connector can now be used.
Example 1 - Sending an email
This example will walkthrough how to send an email using the Gmail connector.
The first step is to select the Send email operation.
Here, a subject and an email body has been defined. This has been done using the subject and body input fields.
The next step is to configure the address that will be sending the email, and the address that will be receiving the email.
The email is now ready to be sent. To do so, the workflow is ran and as can be seen it has been successful in sending the email.
Below, you can also see the email that was sent on an email client.
Create send-as alias
Creates a custom 'from' send-as alias. REQUIRES a service account.
Deletes a message in your Inbox.
Delete send-as alias
Deletes a specified send-as alias. REQUIRES a service account.
Download message attachments
Get the attachments from a message.
Get full details of a message in your Inbox.
Get send-as alias
Returns data for a specified send-as alias. REQUIRES a service account.
Returns full details of a thread in your Inbox.
Get user profile
Returns information about the user authenticated to Tray.
Lists all labels in the user's inbox.
List labels DDL
Returns a list of all the messages in the Gmail inbox.
List send-as aliases
Lists a user's custom 'from' send-as alias. REQUIRES a service account.
Returns a list of all the conversation threads in the Gmail inbox.
List user history
Lists the history of all changes to the given mailbox.
Reply to message
Sends a reply email message via your Gmail account. Messages will appear to the recipient as if you had sent the message yourself in the Gmail interface.
Sends an email message via your Gmail account. Messages will appear to the recipient as if you had sent the message yourself in the Gmail interface.
Update message labels
Modifies the labels on the specified message.
Update send-as alias
Updates a custom 'from' send-as alias. REQUIRES a service account.