Email (Custom) OPA - New email trigger ​

The New email trigger polls for new emails using IMAP or POP3 through your on-prem agent extension. Use the IMAP option to poll for new unseen emails in the specified mailbox based on search criteria. Use the POP3 option to poll for all emails in the mailbox.

Input ​

Input fieldDescription
MailboxSelect or enter the mailbox to retrieve emails from, for example INBOX. The Mailbox field is only available with IMAP.
Search criteriaOptional. Select or enter a criterion to filter the emails. The Search criteria field is only available with IMAP. Defaults to ALL if left blank.
Search criteria valueOptional. Enter the search value for the selected criterion, for example Testing, 01-Jan-2023, or [email protected]. The Search criteria value field isn't available for criteria that don't take a value, such as ALL or SEEN.
Trigger poll intervalOptional. Enter how frequently the trigger checks for new events.

Output ​

Output fieldDescription
UIDThe email's unique identifier.
FromThe sender of the email.
DateThe date and time the email was received in the mailbox.
SubjectThe subject of the email.
BodyThe plain text message content of the email.
HTML bodyThe HTML message content of the email, if available.
AttachmentsA list of attachments for the email, if applicable. Each item includes a file name and its base64-encoded content.
DigestA content hash for the email, combined with UID to detect duplicate trigger events.

Last updated: