Microsoft Office 365: Restricting Account Upon Using Application Id and Secret


I’m using UiPath.MicrosoftOffice365.Activities v2.0.1 in Windows-legacy. I would like to send email for unattended process using Application Id and Secret authentication type.

However, this method will allow us to use any account within our organization (which might be misused). Thus, is there a method to specify an account or any other authentication method that would restrict to only an account?