Integromat
  • Back to website
Articles in this section
  • Airtable
  • Bubble
  • Email (legacy)
  • Facebook Groups
  • Formstack
  • Google Cloud Vision
  • Google Sheets (legacy)
  • HTTP
  • JSON
  • Magento 2
See more
  1. Integromat Support
  2. Apps
  3. Docs

Gmail

Integromat Support Team Integromat Support Team Updated January 11, 2021 18:57

Getting Started with Gmail

Prerequisites

  • A Google account

In order to use Gmail with Integromat, it is necessary to have a Google account. If you do not have one, you can create a Google account at accounts.google.com.

Connecting Gmail to Integromat

To connect your Gmail account to Integromat as a G Suite user (Business Gmail account) follow the general instructions for Connecting to services.

If you are a @gmail.com or @googlemail.com user, you need to create an OAuth client on the Google Cloud Platform in order to obtain the Client ID and Client Secret.
For step-by-step instructions on how to create the OAuth client (and obtain the Client ID and Client Secret) please refer to the Connecting Integromat To Google Services Using a Custom OAuth Client documentation or see the video tutorial below.

To find out whether you are a G Suite user or @gmail user please see the Google API restrictions (Do I have a G Suite account? section) article.

Did you know?

You can find over 40 predefined Gmail sample templates at www.integromat.com/en/templates/google-email.

Triggers

Watch Emails

Connection Establish a connection to your Google account.
Folder Select the email folder you want to watch.
Filter type Select the Simple filter option to filter emails by selected Criteria or select the Gmail filter option to filter emails by entered Query.
Query Use Gmail search syntax, e.g. to search for messages in the Social category that include an attachment, use category:social has:attachment. For more information, see the Search operators you can use with Gmail page.
Mark email message(s) as read when fetched Select whether or not you want to mark retrieved emails as read.
Maximum number of results Set the maximum number of results that Integromat will work
with during one cycle.

Actions

Send an Email

Connection Establish a connection to your Google account.
To Enter the email address of the recipient(s) using the Add recipient button.
Subject Enter the email subject.
Content Enter the email content (message body). HTML tags are allowed.
Attachments Add an attachment using the Add an attachment button. You can map a file from the previous modules. Set Content-ID (e.g. ii_jrc3r9mw1), if you want to attach inline images (embedded into content). You can put anything there, for example "ii_jrc3r9mw1", this way you create an ID for the attachment which you can then use in HTML like this 
<img src="cid:ii_jrc3r9mw1">
More information about working with files.
Copy recipients Add the copy recipient(s). (CC:)
Blind copy recipients Add the blind copy recipient(s). (BCC:)

Create a Draft

Connection Establish a connection to your Google account.
Folder Select the Gmail folder you want to create a draft in.
To Enter the email address of the recipient(s) using the Add recipient button.
Subject Enter the email subject.
Content Enter the email content (message body). HTML tags are allowed.
Attachments Add an attachment using the Add an attachment button. You can map a file from the previous modules. More information about working with files.
Copy recipients Add the copy recipient(s). (CC:)
Blind copy recipients Add the blind copy recipient(s). (BCC:)

Mark an Email as Read

Connection Establish a connection to your Google account.
Folder Select the Gmail folder that contains the email.
Email ID (UID) Enter or map the Email ID.

2019-01-25_15_02_29-Window.png

Mark an Email as Unread

Connection Establish a connection to your Google account.
Folder Select the Gmail folder that contains the email.
Email ID (UID) Enter or map the Email ID of the email you want to mark as unread.

Move an Email

Connection Establish a connection to your Google account.
Folder Select the Gmail source folder that contains the email you want to move.
Destination folder Select the Gmail target folder you want to move the email to.
Email ID (UID) Enter or map the Email ID of the email you want to move.

Copy an Email

Connection Establish a connection to your Google account.
Folder Select the Gmail source folder that contains the email you want to copy.
Destination folder Select the Gmail target folder you want to copy the email to.
Email ID (UID) Enter or map the Email ID of the email you want to move.

Delete an Email

Connection Establish a connection to your Google account.
Gmail Message ID Enter or map the Email ID of the email you want to delete.
Permanently
Permanently removes the message instead of moving it to the trash folder.

Modify Email Labels

Connection Establish a connection to your Google account.
Gmail Message ID Enter or map the Email ID of the email you want to delete.
Labels to add
Select the label you want to add to the selected email message.
Labels to remove Select the label you want to remove from the selected email message.
Label to add and Label to remove fields load only user-created labels.

2019-01-25_16_16_57-Window.png

Iterators

Iterate Attachments

More information on Iterators can be found on the Iterator help page.

Source module Select the module you want to iterate attachments from. You can further process attachments, for example, using Dropbox>Upload a file.

2019-01-25_17_09_02-Window.png

Was this article helpful?
9 out of 38 found this helpful
Menu
  • Features
  • Apps & Services
  • Templates
  • Pricing
  • What's new
  • Use cases
Information
  • Terms,  Privacy
  • FAQ
  • Help & Tutorials
  • Community
  • Affiliate Program
  • Blog
Developers
  • Developer Platform
Company
  • About the company
  • Join our team
  • Contact
Follow us
© 2020 Integromat by Celonis. All rights reserved. Integromat® is a registered trademark.
  • English