Automation with for each mail stops after three mails

When using af drag and drop automation for each mail in a specific folder in Outlook 2016, it only runs the first three mails and the shuts down as if it was completly done, even though there are more mails to be processed.
I have tried to change limit under ‘Limit emails to first’, but it stops each time when it perfectly has processed three mails, no matter how many mails there are in the folder.

@Jea

Welcome to the community

Check if only unread is checked or if there are any filters added

can you show a screenshot of properties please

cheers

Hello @Jea

If you have done LIMIT EMAILS TO FIRST Then you can also check Another filters . for ex. Unread etc.

If you still stuck then please share you screenshot of that Activity.

Regards,
Rajesh Rane

Hello @Jea

You already checked the Top Property , but confirm it’s either blank or set to a value larger than your folder mail count.

If you are filtering on Unread emails and your process marks them as read after processing, then after the first 3 are read, no more mails match the filter, so it looks like the process is done.
Either uncheck “Mark as read” or adjust your filter to include all mails.

if your still facing the problem share the ss of the activity with all the properties visible

Thank you. There are no filters and I have tried all the different limits - now it is set to 50, men still it stops after three. I takes both read and unread mails, at during the ‘for each mail’-loop it moves mails to a different folder, så there is only mails left which should be proceed.

Thank you. The automation does not open the mails, so status are not changed from read to unread and there is no filters regarding this status. It only moves mails to a different folder after journalising it.

Hello @Jea

If you’re available, would you be able to join a meeting on Google Meet?

so its easy for me to figure out exact issue

Regards ,
Rajesh

Hi @Jea

Is the code throwing any error after 3 emails are done?

Are you saying that every time you run the process, it picks a new set of first 3 emails and move those, and then stop.

And same happens in next run? So you are only able to move 3 emails at a time which means if you have ran your code like 3 times already, 9 emails are already moved to another folder and are not there in original folder anymore?

Sorry Rajesh, a google meet is no an option for me. But thank you so much for wanting to help.

Hi,
No, there is no error at all. It just shuts down as if it was all finished.
Yes, it happens every time I run the process.
And yes - for each time I run it, 3 mails are handled and moved to a subfolder - just as they are supposed to, but there is more mails left to be handled.

Check have you applied any filter that didn’t matched other also check the count of mails also check if the mails are in sub folders or not if yes then check the box of include sub folders or else you test them manually like create a demo folder and include the mails in that folder and try looping to that folder and then check if all mails are getting processed or not.

Cheers