Get Outlook Mail Messages: The specified folder does not exist!

Hi everyone, I’m pretty new to RPA and I have been following a tutorial that should extract excel files from certain emails and put them in a folder. I did exactly as the tutorial said but I got the error I put in the title - “Get Outlook Mail Messages: The specified folder does not exist”. These are the things I tried to no avail:

  • put my email in the account property
  • did “” in the MailFolder property
  • uninstall/reinstall studio, Microsoft Office 365, and Outlook.
  • make sure the Outlook app’s language is English.
  • got rid of other emails so only the email I want is in the Outlook app (is the updated mail app the new Outlook app? I just want to make sure since Studio can’t seem to find it.)

I’m pretty lost and I have been scouring the internet to try to figure out this issue but I can’t seem to find a solution. Please help!

Hi @rpadeveloping

Check out the thread. It might help you.


Hi Parvathy - thanks for replying!
I inputted the text in the MailFolder but I got this error instead - “Validation Error Compiler error(s) encountered processing expression ““Inbox\”+row(“Folder”).ToString”.
‘row’ is not declared. It may be inaccessible due to its protection level.”

Did I do something wrong?

Hi, I found out the issue. I was supposed to actually have the the entire Microsoft 365 installed in my desktop. I have the actual Outlook app now and it works just fine. Thanks for taking your time!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.