Could not retrieve the result of the job execution. This might be because a message was too large to process


I am trying to get and filter emails using Get Outlook mail message activity. All the emails will have attachments. I am able to get the mail messages but when I try to pass them out as OutArguments, I get the below error.
I am not getting the error when I convert the outArgument to a variable.
But I need the list of mail message outside this xaml. Kindly help me on this.


This causes where there is a lot of memory required for argument, better to use in variables instead of argument

Hope this helps you