Communication
Gmail
Gmail modules
10 min
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 in your mailbox field description connection create a connection to your gmail account 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 all emails only read emails only unread emails 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 {{product name}} 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 full content raw content metadata content minimal content for more details about formats, see the google workspace documentation actions send an email sends a new email field description connection create a connection to your gmail account to enter the recipient's email address subject enter the email subject body type choose one of two options raw html for advanced, fully custom layouts collection of contents (text, images, etc ) for simpler layouts 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 file name enter the name of the file to be uploaded, including the file extension for example, invoice xml data add binary or text data to be uploaded to a selected folder for more information, see working with files docid\ oauioo6oujv0fyglzmrte 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 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 reply to an email replies to the specified email field description connection create a connection to your gmail account t hread 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 reply to all (original sender, ccs, and known bccs) reply to sender only reply to specific recipients 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 additional email headers add custom headers to the email body type choose one of two options raw html for advanced, fully custom layouts collection of contents (text, images, etc ) for simpler layouts body contents enter the email message body you can use html tags signature content select the signature contents, or leave it empty attachments file name enter the name of the file to be uploaded, including the file extension for example, invoice xml data add binary or text data to be uploaded to a selected folder for more information, see working with files search emails searches emails field description connection create a connection to your gmail account 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 all emails only read emails only unread emails limit set the maximum number of results that {{product name}} 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 full content raw content metadata content minimal content include html body select whether to include the raw html body alongside the full text body get an email gets a specific email info field description connection create a connection to your gmail account 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 full content raw content metadata content copy an email copies an email or a draft into a selected folder field description connection create a connection to your gmail account 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 move an email moves the chosen email or a draft to the selected folder field description connection create a connection to your gmail account 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 update email labels updates labels on the specified email message field description connection create a connection to your gmail account 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 mark an email as read marks an email or a draft as read by setting the "read" flag field description connection create a connection to your gmail account 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 mark an email as unread marks an email or a draft as unread by setting the "unread" flag field description connection create a connection to your gmail account 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 delete an email deletes an email by moving it to trash field description connection create a connection to your gmail account 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 create a draft email creates a new draft email field description connection create a connection to your gmail account 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 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 raw html for advanced, fully custom layouts collection of contents (text, images, etc ) for simpler layouts 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 file name enter the name of the file to be uploaded, including the file extension for example, invoice xml data add binary or text data to be uploaded to a selected folder for more information, see working with files docid\ oauioo6oujv0fyglzmrte cc recipients enter the email addresses of any copy recipients bcc recipients enter the email addresses of any blind copy recipients t hread 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 send a draft email sends a draft email field description connection create a connection to your gmail account 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 list email attachments and media retrieves a list of attachments and media for the specified email field description connection create a connection to your gmail account 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 make an api call makes an api call field description connection create a connection to your gmail account 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 get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry 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