Question

How to process unread emails from oldest to newest?

  • 17 July 2023
  • 1 reply
  • 99 views

Badge

Dear all,

 

I use a web based email client for receiving emails from my customer. Bot will process each unread emails. I have a bot runner schedule system to run the bot. I also receive emails during the weekend. But when the bot run on next schedule or next day, it always take the recent unread emails. 

 

Does anyone know,  how to make the change in bot, to read emails from oldest unread to newest unread?

Unfortunately, email client also doesn’t have this option.

 

Any leads or hints will be really helpful.

 

Best regards,


1 reply

Badge +1

I think there’s nothing out of the box for it, you can try building a stack with arrays and process the stack in a separate loop later in the order you want.

Asif Hussain

Reply