How to unmarked the un-processing email

Hi Urgent help,
Now I am reading the single oldest email.
Like I have 10 unread emails in the inbox. so I am reading the Single Oldest unread email only means the 10th only, Now I am using the While Loop here So it’s working fine, and I am able to read the oldest email. But my requirement is I don’t want to bot marked all the un proessing email as read. Please help.
Here is the logic.


@Palaniyappan @ArunVelaayudhanG @ercanebiler @Lahiru.Fernando Kindly help guys

Fine
disable the MARK AS READ and ONLY UNREAD MAILS so that it wont depend on those properties either while fetching or even after fetching mails from outlook
@balkishan

1 Like

But bro, As I am reading the single oldest email only. But I want to mark that email, not the rest of the email. Hope you understand the logic bro.

See I fetched all the three emails but I download/processing the oldest latest email only. But I want to mark the Oldest latest email not the 1st & 2nd, Now all three are Unread but I want to marked the which my bot process. My logic is I am fetching all the Unread email using the While Loop and then Read only Oldest Single email, But I want to marked read the oldest single email not the rest. Kindly help.

There are two ways to do this handle this
either with INVOKE METHOD or with vb script

or

This is bit tricky

Kindly try this and let know for any queries or clarification
Cheers @balkishan

1 Like

Bro the first is not my requirement, Actually I will explain you, like I have 10 unread emails in the Inbox, So in Get Outlook Email, I have click the Marked As Read, So First my bot will fetch those 10 emails and marked all as Read email Right, Then using the While loop I will Download only the Oldest Single Email not the rest 9 emails then I am stopping the bot,
So my question is I want to marked the 10th email not the first 9 emails. Bcz when I run the bot next time I will read only the 9th email not the first 8 emails. Hope you understand bro. Please help.

@KarthikByggari @Palaniyappan