We are using the send outlook mail message activity in UiPath to send the email message.
But, Outlook user is getting sign out and the time interval is not fixed it gets sign out randomly.
I think we should have some kind of check on orchestrator, the way we have it for Bot. (For eg. we get reminder from Orchestrator that the bot is disconnected, if the bot gets disconnected)
If we have the check for the same on orchestrator, so it will resolve the problem.
As I can see at this moment, there is no solution for the same. If we get the notification from orchestrator then the support team or admin can sign in to VM and fix the issue.
Our team had a look and it is most likely an issue of Outlook itself and not really related to UiPath in general. It is either the desktop app or the email server that is most likely invalidating your connection and forcing a login.
I cannot see any immediate connection here. It should be easy to test though, if you try testing with it and without it to see the differences in behaviour.