AWS WorkMail (EWS) icon

AWS WorkMail (EWS)

Interact with AWS WorkMail using Exchange Web Services (EWS)

Folder → Get Many Folder Messages

AI-generated

Summary

Retrieve multiple email messages from a specified folder in AWS WorkMail via Exchange Web Services. Supports pagination with options to limit the number of messages or fetch all available messages up to a max of 500.

Inputs

  • Folder ID (required) — ID of the folder to get messages from, default is 'inbox'.
  • Return All — Boolean indicating whether to return all messages or limit the results.
  • Limit — Maximum number of messages to return if 'Return All' is false. Must be between 1 and 500, default is 50.

Output shape

a list of message objects

Returns an array of messages found in the specified folder, each as a JSON object including message properties like ID, subject, body, sender, read status, received/sent date, and attachments flag. Results are paginated based on 'Return All' and 'Limit' settings, with a hard maximum of 500 messages per call.

Links

Discussion