Email execution logs to admin

I want to email bot execution log file to admin after every execution as attachment.
The logs are located at %AppData\Local%\UiPath\Logs but I need to dynamically get the full path from user machine. The full path will look something like this: C:\Users\username\AppData\Local\UiPath\Logs[currentDate_execution.log]. How to get the user name from system?


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.