Gmail modules
After connecting to the Gmail app, you can use the following modules to build your scenarios.
Triggers
Triggers when a new email is received in your mailbox.
Field | Description |
|---|---|
Connection | |
Filter type | Select Simple filter to filter emails by selecting criteria, or Gmail filter to filter emails by entering the query. |
Folder | Select the email folder you want to watch. |
Label | Select the label you want to watch. |
Criteria | Select the criteria of the emails you want to watch:
|
Mark email message(s) as read when fetched | Select whether you want to mark retrieved emails as read. |
Limit | Set the maximum number of results that Make will work with during one cycle. Must be lower than or equal to 500. |
Sender email address | Enter the sender email addresses that you want to filter emails by. |
Subject | Enter the character string in the email subject that you want to filter emails by. |
Has the words | Enter the words to watch only emails that contain them. |
Doesn't have | Enter the words to watch only emails that don't contain them. |
Email size | Enter the email size that you want to filter emails by. You can specify the criteria, size, and size units. |
Only emails with attachments/media | Select whether to watch only emails that have attachments. |
Content format | Select the level of detail returned from the email message:
For more details about formats, see the Google Workspace documentation. |
Actions
Sends a new email.
Field | Description |
|---|---|
Connection | |
To | Enter the recipient's email address. |
Subject | Enter the email subject. |
Body type | Choose one of two options:
|
Body contents | Enter the email message body. You can use HTML tags. |
Signature content | Add custom content to include as your email signature. You can use HTML tags. |
Attachments |
|
From | Enter a custom sender email address. There are two options for entering:
|
CC recipients | Enter the email addresses of any copy recipients. |
BCC recipients | Enter the email addresses of any blind copy recipients. |
Additional email headers | Add custom headers to the email. |
Replies to the specified email.
Field | Description |
|---|---|
Connection | |
Thread ID | Enter a message thread ID to reply to. You can use the ID finder to search for and select the correct ID. |
Reply mode | Select which recipients to include in the reply email:
|
From | Enter a custom sender email address. There are two options for entering:
|
Additional email headers | Add custom headers to the email. |
Body type | Choose one of two options:
|
Body contents | Enter the email message body. You can use HTML tags. |
Signature content | Select the signature contents, or leave it empty. |
Attachments |
|
Searches emails.
Field | Description |
|---|---|
Connection | |
Filter type | Select Simple filter to filter emails by selecting criteria, or Gmail filter to filter emails by entering the query. |
Folder | Select the email folder where you want to search. |
Label | Select the label to search by. |
Criteria | Select the criteria of the emails you want to search:
|
Limit | Set the maximum number of results that Make will work with during one cycle. Must be lower than or equal to 500. |
Sender email address | Enter the email address(es) to search for emails from specific senders. |
Subject | Enter a word or phrase to search for in the subject line of emails. |
Has the words | Enter the words to search for emails that contain them. |
Doesn't have | Enter the words to search for emails that don't contain them. |
Email size | Enter the email size to search for emails of a specific size. You can specify the criteria, size, and size units. |
Date | Enter the date for the email search range. |
Only emails with attachments/media | Select whether to search for emails that have attachments. |
Content format | Select the level of detail returned from the email message:
|
Include HTML body | Select whether to include the raw HTML body alongside the full text body. |
Gets a specific email info.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email message you want to retrieve. You can use the ID finder to search for and select the correct ID. |
Content format | Select the level of detail to return from the email message:
|
Copies an email or a draft into a selected folder.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email or draft that you want to copy. You can use the ID finder to search for and select the correct ID. |
Destination folder | Select the folder where the email will be copied. |
Moves the chosen email or a draft to the selected folder.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email or draft you want to move. You can use the ID finder to search for and select the correct ID. |
Updates labels on the specified email message.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email message you want to update. You can use the ID finder to search for and select the correct ID. |
Marks an email or a draft as read by setting the "Read" flag.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email message or draft that you want to mark as read. You can use the ID finder to search for and select the correct ID. |
Marks an email or a draft as unread by setting the "Unread" flag.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email message or draft that you want to mark as unread. You can use the ID finder to search for and select the correct ID. |
Deletes an email by moving it to trash.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email message that you want to delete. You can use the ID finder to search for and select the correct ID. |
Draft
Creates a new draft email.
Field | Description |
|---|---|
Connection | |
From | Enter a custom sender email address. There are two options for entering:
If not provided, the email will be sent from the default account set in your Gmail settings. |
To | Enter a recipient email address. |
Additional email headers | Add custom headers to the email. |
Subject | Enter the email subject. |
Body type | Choose one of two options:
|
Body contents | Enter the email message body. You can use HTML tags. |
Signature content | Add custom content to include as your email signature. You can use HTML tags. |
Attachments |
|
CC recipients | Enter the email addresses of any copy recipients. |
BCC recipients | Enter the email addresses of any blind copy recipients. |
Thread ID | Enter a message thread ID to reply to. You can use the ID finder to search for and select the correct ID. |
Folders | Select folders to which the draft email will be added. If not selected, it will be added automatically to the Drafts folder. |
Sends a draft email.
Field | Description |
|---|---|
Connection | |
Draft ID | Enter the ID of the draft email you want to send. You can use the ID finder to search for and select the correct ID. |
Attachment
Retrieves a list of attachments and media for the specified email.
Field | Description |
|---|---|
Connection | |
Message ID | Enter the ID of the email message you want to retrieve attachments from. You can use the ID finder to search for and select the correct ID. |
Include | Select whether to include media and/or attachments. |
Return media or attachment file data | Specify whether media or attachment file data should be included in the output bundle. |
Other
Makes an API call.
Field | Description |
|---|---|
Connection | |
URL | Enter a path relative to https://gmail.googleapis.com/gmail For example: /v1/users/me/messages. For the list of available endpoints, refer to the Gmail API Documentation. |
Method | Select the method for your API call:
|
Headers | Enter the desired request headers. You don't have to add authorization headers; we added those for you. |
Query String | Enter the request query string. |
Body | Enter the body content for your API call. |