Get Outlook mail messages - Object reference error

Hi,
I am having trouble with a “Get Outlook Mail Messages” sequence. This was running fine last night but now I cannot identify what has broken. The application will mark my emails as read, then fails. It does not save the files to my folder.

Any suggestions would be greatly appreciated.

Error: For Each: Object reference not set to an instance of an object.

@MF.RPA

Place a IF condition before For Each

If there is no mails then It will return null

So place a if condition as below

Hope this helps you

Thanks

Well… After creating the support request I found the solution to my own issue… I was missing an object in my Get Outlook Application activity…