The Read Gmail
block is crafted to assist in efficiently managing email-based workflows by enabling users to read emails from their Google Mail (Gmail) account. This functionality ensures that crucial communication is not overlooked and provides the option to filter emails based on predefined system labels or custom labels.
To run this block, you will first need to authenticate your Google account with Keyflow. Navigate to your credentials page and connect your Google Mail using “Read Edit & Send Emails.”
I/O | Feature | Type | Simple Explanation |
---|---|---|---|
input | label | string | Identifies a specific inbox or sub-inbox (default is INBOX). |
input | max_results | number | Maximum number of emails fetched that match the specified label. |
output | message_id | string[] | Unique message IDs of the retrieved emails generated by Google. |
output | sender | string[] | Email addresses of the senders of the retrieved messages. |
output | receiver | string[] | Email addresses of the recipients for each retrieved message. |
output | email_subject | string[] | Subject lines of each email fetched from Gmail. |
output | email_body | string[] | The content (HTML or plain text) from each email body received. |
output? | attachments | string[] | A list containing file paths for any attachments included in those emails. |
Consider how this block can streamline various tasks:
In conclusion, when there’s a necessity to manage and interact with Gmail messages efficiently, the Read Gmail
block serves as an invaluable resource!