I have emails count check at the starting point of bot. If it is greater than 1000 bot should send notification mail and process stops. At next run bot should check for one reply mail and process the emails. This time it shouldn’t check the emails count. At next another run(3rd run) the bot should check again emails count.
How to achive this scenario. My logic is not working at 3rd run because i am checking reply mail and processing the emails without checking count.