These were 2 interview questions I faced.
- Can I run an unattended session in an attended machine?
- Other than “Get Outlook” activity, which activity to use for retrieving and sending emails?
These were 2 interview questions I faced.
hi @Navya_Thomas ,
Yes, if the machine is configured in Orchestrator for unattended use. It will run in a separate session, independent of the attended user session.
Besides Outlook activities, we can use IMAP/POP3/SMTP for generic mail servers, Exchange activities for on-prem Exchange, and modern Integration Service activities for Office 365 or Gmail, which are preferred now.
No you can’t because, attended machine will have Attended robot license allocated which can’t run a unattended job on it.
Specifically for Office 365/Microsoft 365 - Get Email and Send Mail (inside [Office 365 Scope])
I wanted to have all kinds of email management like receiving, sending and moving emails. Not specific to Office 365.
We have a lot of the activities actually for this. Just check the activities panel ->Mail category.
The short answer is yes, you can run an unattended session on an “attended” machine, but there is a major technical “gotcha” regarding the Windows session.
In UiPath, “Attended” and “Unattended” are primarily license types and trigger methods, not permanent physical properties of the hardware. However, how the machine behaves depends entirely on the Robot Installation Mode.
For a machine to truly act as “Unattended” (triggering from Orchestrator without you being logged in), the Robot must be installed in Service Mode .
Local System). It can “spawn” its own Windows session, log in, run the bot, and log out. This is the requirement for true unattended automation.If you are sitting at your desk (Attended session) and Orchestrator triggers an Unattended job on that same machine:
Email Sending:
These are standard internet protocols. They don’t require any specific email software (like Outlook or Gmail) to be installed on the machine; the bot connects directly to the mail server.
These activities use the Microsoft Graph API, which is much faster and more reliable for unattended bots than the desktop Outlook app.
If your company uses a local Exchange server rather than the cloud (O365), there are specific activities for this.