Communication
Gmail
Gmail modules
7min
after connecting to the gmail app, you can use the following modules to build your {{scenario plural lowercase}} triggers watch emails triggers when a new email is received to be processed according to specified criteria field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp folder select the email folder you want to watch filter type select simple filter to filter emails by selecting criteria, or gmail filter to filter emails by entering the query criteria select the option to filter watched emails by query use the gmail search syntax to search for messages containing an icon of a specific color, use the following search query yellow star l ^ss sy blue star l ^ss sb red star l ^ss sr orange star l ^ss so green star l ^ss sg purple star l ^ss sp red bang l ^ss cr yellow bang l ^ss cy blue info l ^ss cb orange guillment l ^ss co green check l ^ss cg purple question l ^ss cp sender email address enter the email addresses that you want to filter emails by subject enter the characters string in the email subject that you want to filter emails by search phrase enter the characters string in the email subject or body that you want to filter emails by mark email message(s) as read when fetched select whether you want to mark retrieved emails as read maximum number of results set the maximum number of results that make will work with during one cycle actions copy an email copies an email or a draft into a selected folder field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp folder select the email source folder that contains an email you want to copy destination folder select the email destination folder where you want to copy an email to email id (uid) enter the id of the email you want to copy to get the email id (uid), use the email > get emails module you will see the value in the output create a draft creates a new draft and adds it to a selected folder field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp folder select the folder you want to add a draft to to enter the recipient's email address subject enter the email draft subject content enter the email message body you can use html tags attachments file name enter the name of the file to be uploaded, including the file extension for example, myfile png data enter the file data refer to our help center to learn how to work with files copy recipient enter the copy recipient's email address (cc ) blind copy recipient enter the blind copy recipient's email address (bcc ) delete an email removes an email or a draft from a selected folder field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp gmail message id enter the id of the message you want to delete to get the gmail message id, use the gmail > watch emails module you will see the value in the output permanently select whether you want to move the email to the thrash folder or to permanently delete it mark an email as read marks an email or a draft in a selected directory as read by setting the "read" flag field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp folder select the folder that contains the email you want to mark as read email id (uid) enter the id of the email you want to copy to get the email id (uid), use the email > get emails module you will see the value in the output mark an email as unread marks an email or a draft in a selected directory as read by setting the "unread" flag field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp folder select the folder that contains the email you want to mark as unread email id (uid) enter the id of the email you want to copy to get the email id (uid), use the email > get emails module you will see the value in the output modify email labels modifies labels on the specified email message field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp gmail message id enter the id of the message whose labels you want to modify to get the gmail message id, use the gmail > watch emails module you will see the value in the output labels to add select the labels you want to attach to the email labels to remove select the labels you want to detach from the email move an email moves a chosen email to a selected folder field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp folder select the email source folder that contains an email you want to move destination folder select the email destination folder where you want to move an email to email id (uid) enter the id of the email you want to copy to get the email id (uid), use the email > get emails module you will see the value in the output send an email sends a new email field description connection gmail docid\ v6l8kmmwflb2wxhoi3trp from enter a custom sender email address there are two options for entering a custom name in quotes before a custom sender email address "john bush" test\@email com an email address that you're already connected with test\@mail com to enter the recipient's email address subject enter the email subject content enter the email message body you can use html tags attachments file name enter the name of the file to be uploaded, including the file extension for example, myfile png data enter the file data refer to our help center to learn how to work with files content id enter a content id to attach inline images this allows you to create an id for the attachment, which you can then use in html \<img src="cid\ ii jrc3r9mw1"> where ii jrc3r9mw1 is a content id copy recipient enter the copy recipient's email address (cc ) blind copy recipient enter the blind copy recipient's email address (bcc ) iterators iterate attachments iterates through received attachments field description source module select another gmail module whose output contains attachments you want to iterate