Skip to content

Gmail

Description

The Gmail activity allows you to securely connect to a Gmail account and download emails from a specified folder using predefined filters. This activity supports advanced filtering such as regex-based subject matching, date range selection, and conditional attachment downloading.

This is ideal for scenarios where email-based communication or reports need to be monitored, extracted, or processed within automated workflows. The output includes message metadata and optionally downloaded attachments and extracted links.

UseCase:Doenload the Mails Extarct the body of the mail and transform It to extact necessary informations in it


Input

TypeDescription
DataEmails from the connected Gmail account

Output

TypeDescription
DataData of the mails retrieved

Configuration Fields

Field NameRequiredDescription
ConnectionYesThe Gmail connection used to access the mailbox
Folder NameYesThe folder in Gmail (e.g., Inbox, Promotions) to scan for emails
Subject RegexNoRegex pattern to match email subjects (e.g., .*Invoice.*)
From Received DateNoStart date for filtering emails by received timestamp
To Received DateNoEnd date for filtering emails by received timestamp
Download AttachmentNoBoolean toggle to determine if attachments should be downloaded (Yes/No)

Sample Input

Not Applicable

Sample Configuration

FieldValue
ConnectionGmailConnection_1
Folder NameInbox
Subject Regex.*Monthly Report.*
From Received Date2025-01-01
To Received Date2025-01-31
Download AttachmentYes

Sample Output

MessageIdReceivedDateFromToSubjectBodyAttachmentLinks
[email protected]2025-01-05T08:30:00[email protected][email protected]Monthly Report - Janreport.pdfhttps://reportlink.com
[email protected]2025-01-15T14:12:00[email protected][email protected]Monthly Report - Jan