Automating logging into diffrent Outlook mailbox problem

I’m trying to automate the process of logging into the Outlook.
The problem is that is the different mailbox and it only it’s updated when it’s clicked on in the specific folder.
How do I make the process that launches the outlook, then navigates to the specific folder in different logged mailbox and downloads new emails?