Monitoring Emails In "Inbox" Folder



I have a mailbox on Outlook 365, which contains some rules which should send each mail to the right sub folder (assuming the Emails are being sent with in the right format).
Each Email which do not follow one of the formats, will stay in the main “Inbox” folder.

I have been trying to find a way to monitor this mailbox for any new Email which been pending for more than 5 minutes in the main “Inbox” folder.
Is there any idea how can it be done?

Thank you.

(Roland Sommer) #2

I’d give Powershell a try.


Hi Roland, thank you for your reply!
I have managed to do it with “imaplib” lib in python eventually :slightly_smiling_face:

(Gerhard Laußer) #4

1 Like