Hi All
I have no fields to filter emails using my “Get Exchange Mail Messages” activity.
I have updated the package version with no luck.
Any assistance would be greatly appreciated.
I was hoping to use a filter for efficiency to save going through hundreds/thousands of emails 
Currently using v20.10.1 but no luck when changing the version.
Cheers
Steve
Hi @Steven_McKeering
Can you check with studio version 22.4.4.
Gokul001
(Gokul Balaji)
3
Hi @Steven_McKeering
Can you Update the Studio and Mail package and check it 
My Configuration
Current Studio Version → 22.4.4
Mail Activity Version → 1.17.1.0.preview

Regards
Gokul
Hey @Gokul001 and @Tapan_Behera1
Any workarounds for 2020.10?
We aren’t doing an upgrade for a few months 
Could I do it in reverse like get the email then filter the queue items? 
TIA
Cheers
Steve
Yes @Steven_McKeering
You can try this approach:
Read the mails using Get Exchange mail activity and store in mails variable.
Then use the search query using assign activity
mails= search_query
2 Likes
I will give this a try 
Edit:
Use the below filter from @Tapan_Behera1 with success.
mails=mails.Where(Function(mail) mail.Subject.ToString.Contains(“sub_contents”)).ToList()
Edit2: Updated My UiPath.Mail package to v1.12.2 and it has been added.
1 Like
Aleem_Khan
(Aleem Anwer)
7
Is this solution work for you ?
Hey @Aleem_Khan
Yes the mail filter worked for me:
mails=mails.Where(Function(mail) mail.Subject.ToString.Contains(“sub_contents”)).ToList()
But was a bit slow, 8 seconds per email
Updating the package to include the filter expression was much faster (1-3 seconds).

1 Like
Aleem_Khan
(Aleem Anwer)
9
Can you help me how to make expression do you have any documents ? Please share appreciate you
system
(system)
Closed
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.