Actions33
- Attachment Actions
- Calendar Actions
- Contact Actions
- Event Actions
- Folder Actions
- Message Actions
Attachment → Add
AI-generatedSummary
Add a file attachment to a specified email message in AWS WorkMail using Exchange Web Services (EWS).
Inputs
- Message ID (required) — ID of the email message to which the attachment will be added.
- Binary Property (required) — Name of the binary property that contains the file data to attach (default is 'data').
Output shape
A single JSON object containing the attachment ID and name of the newly added attachment.
The operation returns one JSON object with 'AttachmentId' and 'Name' fields indicating the added attachment's identifier and filename respectively.