Outlook connectivity check

I need to check the connection status of outlook. Is there any activity available?
Connection status is available from the system tray. But is there a way to access it using UiPath?

On my automation I look for “All folders are up to date” in Outlook. But check it a few times to make sure.

Can you provide a demonstration of this

Inside of outlook towards the bottom right there is a progress status area. When outlook is fully loaded it will say “All folders are up to date”

Is there a way to get outlook connection status as connected or disconnected to the server without opening the application?

I haven’t used it but if your using O365 they have APIs. You may also look at your Mail settings in Control Panel to make sure the account is linked that would show if a connection is available