I get an error while running my bot, I get Folder not found. Manualy the folder exists. Is it a problem in outlook configuration or access permission
Folder not found in mailbox
@FatimaEzzahra could you please share screenshot of the code where you have mail loop?
Chack field Optional in loop command.
Optional: Specify the folder from which you want to retrieve the emails.
Microsoft Outlook and Yahoo: You can specify the name of the folder.
For example, Inbox, Sent, Inbox/Sales, Inbox/IT and so on. The Sales and IT folders in this example are user-created folders and not available by default.
Gmail:
To retrieve emails from the default folders, you must use [Gmail]/FOLDER , except for the Inbox folder.
For example, [Gmail]/Draft, [Gmail]/Important, [Gmail]/Trash, and so on.
To retrieve emails from the folders you have created or the Inbox folder, you must specify the folder names as they are.
For example, if you have created folders called Bank and Sports in your Gmail, specify Bank and Sports without the [Gmail] prefix to retrieve emails from these folders.
![Collaborator Badge](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/eeb1807e-43ef-49be-9d57-ee7e35651ddc_thumb.png)
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/40e4d5a1-e434-42e4-ba8a-f73e5f4793df.png)
![Collaborator Gold Badge](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/982deae3-0e64-47f2-9ee9-79efeafd9f34_thumb.png)
Hi
My folder structure in the outlook is Inbox/BotProcessed. I want to move the email from Inbox to Bot Processed folder. If use the move command with in the loop from the mail package I'm getting an error like Folder not found in the mail box.
Thanks in Advance.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.