Hello!
I have a couple connected accounts to my outlook. These are team outlook accounts and i want to be able to filter/delete/move these emails in the inbox folder of that outlook account. I can see my own outlook and the teams outlook but when i try to use it it only says “the specified folder does not exist”. Is it possible to filter emails in another outlook folder which is not your own but which you still have access to?
Here’s how you can filter, move, or delete emails in a shared Outlook folder team outlook account.
- Ensure that you have access to the shared mailbox or folder in Outlook. You should be able to access this mailbox alongside your own.
- Use “Get Outlook Mail Messages” Activity: In your UiPath workflow, use the “Get Outlook Mail Messages” activity to retrieve emails from the shared mailbox. Configure the activity as follows:
- In the “Account” property, select the email account that has access to the shared mailbox.
- In the “MailFolder” property, specify the name of the folder within the shared mailbox where you want to perform operations (e.g., “Inbox” or a custom folder).
4.After retrieving emails from the shared folder, you can filter, move, or delete them using UiPath activities. Make sure that your UiPath workflow is configured to operate on emails from the shared mailbox, not your own.
5. When specifying the folder name, use the path relative to the shared mailbox, not your own. For example, if you have access to a shared mailbox called “TeamMailbox” and you want to access its Inbox folder, use “TeamMailbox/Inbox” as the folder path.
MailFolder: TeamMailbox/Inbox
Hello! i’ve tried this and always get the same error stating “the specified folder does not exist”
Yes, it is possible to filter emails in another Outlook folder which is not your own but which you still have access to. To do this, you can use the following steps:
- Add the Outlook activities to your UiPath workflow.
- Set the Account property of the Outlook activities to the name of the Outlook account that you want to access.
- Set the Folder property of the Outlook activities to the path of the folder that you want to filter.
Or
U can try to use Microsoft office 365 mail activity to get the mails from others account with the credentials
https://docs.uipath.com/activities/other/latest/productivity/office365-get-mail
Cheers @milad.jazayeri
I have access to the account but do not know the credentials. I have set the account and the folder but i still get the same error message “the specified folder does not exist”.
No worries
Check this out from UiPath knowledge base to get this resolved
Cheers @milad.jazayeri
- to access it through the Outlook activities in UiPath. Without the credentials, you won’t be able to authenticate and access the mailbox or its folders.
2.Ensure that the shared mailbox has been correctly configured and added to your Outlook profile. In Outlook, shared mailboxes should appear as additional accounts or folders in your mailbox hierarchy. If you can see the mailbox in Outlook but are still encountering the error in UiPath, it may be related to authentication.
Hope this helped u
Let us know for further clarification
@milad.jazayeri