Hello, I’ve been doing the RPA Developer Foundations in the Academy, but I got stuck in Build your first process part 1. I’m trying to retrieve emails but the count is always 0 and the “Invoice” folder is never created. Can someone please guide me in what I’m doing wrong? Thank you!
Hi @emi_18oct
Try setting MailFolder to “Inbox\Invoice”, uncheck OnlyUnreadMessages, leave Account blank, and test with “Inbox” to confirm access.
Happy Automation
Make sure you create the folder in the outlook manually and send those emails to that folder.
This step need to be fine manually and then use the outlook activity to fetch those emails.
@emi_18oct
Hi, I noticed you’re using the Filter function. Please first verify the behavior using Modern Outlook activities, as per my understanding, it should work.
However, based on the documentation and observed behavior, Modern Outlook activities may be affected in some cases.
As a workaround, try the same logic using the Classic version of Outlook activities.
To do this:
- Go to Manage Packages → Project Dependencies.
- Locate
UiPath.Mail.Activities. - Downgrade the version to
1.24.16(a stable version compatible with Classic activities).
This should help rule out any issues related to the newer Modern activities.
Activities - New Outlook impact on UiPath Outlook Desktop activities
Let me know how it goes.
You can validate below points
- Check there is any item with that Subject.
- and that email is present or not the folder.
- If email is present with the subject and in taget folder check that is unread or read mail, it is already opened/read then you will get 0 emails. because in your conditions Only Unread messages property is enabled.
Check these points
If you find it helpful, mark it as solution to close this topic
Happy Automation!
