The following example shows you how to search for messages with attachments in the Inbox folder and download the attachments. We use here Query parameter to return messages based on conditions, in this case only messages with attachments.
Name* Email* Message*