activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 6, 2024

Mail troubleshooting

How to retrieve all category emails in a folder

If you want to retrieve all category (for example, Red) emails in a folder, use a Get Mail activity with the following value for the Query parameter: categories/any(a:a+eq+'Red+category')


Exchange online limits for sending/receiving emails

If you want to exchange online limits for sending/receiving emails, see Receiving and sending limits in the Microsoft official documentation.

Microsoft Graph throttling guidance

To learn more about Microsoft Graph throttling, see the Microsoft official documentation.

How to retrieve the emails from a Public Folder

Public folders are not supported in the Graph API.

Code: ErrorItemNotFound. Message: The specified object was not found in the store.

Issue: In older versions (for example, 1.11.1 or 1.14.1), the Send Mail activity intermittently fails if multiple attachments are added to an email. The error message displayed is: "Code: ErrorItemNotFound. Message: The specified object was not found in the store."

The error occurs because the activity sends two separate requests to the Graph API. The first request creates the email object and adds the first attachment, and the second request appends the second attachment. In some cases, the second request is faster and the Graph Explorer doesn't have time to create the mail object before trying to append a second file.

Solution: We recommend you upgrade to a newer version of the package or surround the Send Mail with a Retry Scope activity.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.