AWS WorkMail Trigger (EWS) icon

AWS WorkMail Trigger (EWS)

Starts workflow when a new email is received in AWS WorkMail

AWS WorkMail Trigger (EWS)

AI-generated

Summary

Poll the specified AWS WorkMail folder periodically for new email messages, returning new messages since the last poll, optionally including attachments as binary data.

Inputs

  • Poll Times — Configure one or more times or intervals for the polling frequency, such as every minute, hour, day, week, month, or a custom cron expression.
  • Folder (required) — Folder ID or distinguished folder name to monitor (e.g., inbox, sentitems, drafts).
  • Options — Additional options including 'Max Items' to limit the number of messages fetched per poll and 'Download Attachments' to include message attachments as binary data.

Output shape

a list of up to 'Max Items' new email messages as JSON objects, optionally including attachments as separate binary properties.

The trigger fetches new messages received since the last poll from the specified folder. It automatically keeps track of seen message IDs to only return truly new messages. If 'Download Attachments' is enabled and messages have attachments, these are included as binary data. The polling respects the configured 'Poll Times'. On the first poll after activation, no output is returned to avoid duplicate triggers.

Links

Discussion