AWS WorkMail (EWS) icon

AWS WorkMail (EWS)

Interact with AWS WorkMail using Exchange Web Services (EWS)

Message → Move

AI-generated

Summary

Move a message from its current folder to another specified folder within AWS WorkMail using Exchange Web Services (EWS).

Inputs

  • Message ID (required) — The unique identifier of the message to be moved.
  • Target Folder ID (required) — The identifier of the folder to which the message will be moved.

Output shape

a single JSON object representing the moved message's updated properties, including its new folder location.

The output contains the full message object after it has been moved, with details such as ItemId, Subject, Body, and folder information. Errors are thrown if the operation fails.

Examples

Example 1: Move an email to a different folder

Set 'Message ID' to the ID of the email to move and 'Target Folder ID' to the ID of the destination folder. After execution, the output JSON reflects the message now located in the target folder.

Links

Discussion