I modified my conversation a bit (removed the PowerShell) as we have issues with automation of Outlook in relation to set labels at all. Is there any chance to use the Outlook object to add header information to an Email send by Outlook? Where are the programmers? :-]

We have many users in our company using automation scripts to get things done. Currently we investigating a lot of Excel macros and we'd like to provide a Sub/function to everyone to be able to set a label in advance (before the macro "hit the save or close button").

But now we encountered, that some colleagues also using PowerShell scripts to control Outlook and send automated Emails. The script stops working after we have enabled AIP for those users.

I haven't seen cmdlets from the AIP PS Module for Emails, "only" for files. I am waiting for the code right now. But as mentioned before, PS controls the local Outlook installation to send an Email. A possible workaround would be to use "Send-MailMessage" or "New-Object System.Net.Mail.MailMessage", but might have to many limitations for the user.

We are using the latest Office ProPlus version. Do you have any further information, recommendation, suggestion or even a solution? Much appreciated. Pre-define a label or send it without a label would be both fine.