Unify Automations
Logo
Gmail

Gmail

Logo

3 mins READ

Gmail is a widely used email service by Google, allowing you to send, receive, and organize emails effortlessly. It offers robust features like spam filtering, advanced search, and integration with Google Drive and Calendar. With strong security and mobile access, Gmail is ideal for efficient, secure communication.

Integrating Gmail with your application enables seamless communication, email automation, and efficient data management. 

Authentication 

Before integrating Gmail, ensure you have the following information: 

  • Connection Name: Choose a descriptive name for your Gmail connection to help you identify it within your application or integration settings. A meaningful name, like "MyAppGmailIntegration," helps maintain organization, especially when managing multiple integrations.

  •  Authentication Type: Select the type of authentication to connect to your Gmail account securely: 

    • OAuth

    • Service Account Authentication

OAuth Based Authentication

The OAuth  method involves signing in with your Google account credentials on Google's Single Sign-On page, and granting the necessary permissions to UnifyWorkflows, For OAuth-based authentication, you'll need to perform the following steps to generate access credentials:

  1. Click on the Authorise button. You’ll be redirected to a Google sign-in page.

  2. If you're not already logged into Google, enter your Google account credentials and Sign in.

  3. Google will display a permissions request screen, showing the app name and the specific Google services we are requesting access to “Read, compose, send, and permanently delete all your email from Gmail” and “Send email on your behalf”.

  4. Carefully review the permissions being requested. If you’re comfortable with them, click the "Allow" button.

  5. After granting access, you will be automatically redirected back to our platform, where you should see a confirmation message indicating that your Google account is now connected.

    Frame 37.png
    Frame 37.png

Service Account Based Authentication

Actions Supported

ActionDescription
Send EmailSends an email using Gmail.
Add LabelsAdd labels to a message.
Create DraftCreates a draft email in Gmail.
Create draft replyCreates a draft reply to an email in Gmail.
Creates a labelCreates a label in Gmail.
Delete emailMoves the specified email to the trash.
Download attachmentRetrieves attachments from a specific email in Gmail
Get a messageGets a message from Gmail.
Get a specific threadGets a specific thread from Gmail.
Get message specificsGet specific details of a message.
List EmailsLists all emails received on your Gmail account
Remove labelRemoves labels from a message
Reply in a threadReplies in a thread in Gmail
Find EmailSearches for email in gmail

Triggers Supported 

TriggerDescription
New EmailTriggers when a new email is received in Gmail.