Get IMAP Email Attachment
Description
The Get IMAP Email Attachment activity retrieves an email attachment from an IMAP mailbox using an attachment reference produced by the Read IMAP Email activity.
Common settings
Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.
Design-Time Configuration
Display Text
Specifies the activity's display name as shown on the workflow canvas.
Attachment Reference
Specifies the attachment reference JSON obtained from the Read IMAP Email activity. Use the value from the AttachmentReference property of the selected email attachment.
This reference uniquely identifies the attachment to be retrieved from the mailbox.
Execution Control (Wait All Incoming)
Controls how the activity behaves when multiple incoming execution paths converge.
For detailed behavior and examples, see Execution Control – Wait All Incoming.
Error Handling (On Error)
Defines how the workflow proceeds if the activity encounters an error.
For supported strategies (Fault, Continue, Suspend, Retry), see On Error Handler.
Output
File Content
Returns the attachment file content as a Base64-encoded string suitable for storage, transformation, or file creation.
File Name
Returns the original file name of the attachment.
Content Type
Returns the attachment’s MIME type (for example, application/pdf, image/png).
Size
Returns the attachment's size in bytes.
Is Inline
Indicates whether the attachment was an inline attachment (true) or a regular file attachment (false).
Example: Retrieve one attachment
Iterate over Read IMAP Email → Emails, then over the current email's Attachments. Bind the selected attachment's AttachmentReference to this activity. Use File Content only with a downstream input that expects Base64 bytes, and use File Name and Content Type when storing those bytes.
If the next activity accepts a File Reference, bind the attachment's File directly instead. AttachmentReference identifies the mailbox item; File Content contains its encoded bytes. See Mail Models.