Hello,
This can only be done by sending the email notification using a PowerShell script. To send email notifications in PowerShell scripts, use the $Context.SendMail method. To get the email address of the user specified in the Custom Command parameter, use the below code, where param-MyParameter is the name of the parameter with the param- prefix:
$user = $Context.BindToObjectByDN("%param-MyParameter%")
try
{
$userEmail = $user.Get("mail")
}
catch
{
$Context.LogMessage("The user specified in parameter 'MyParameter' has no email address. ", "Information")
}
Should you have issues writing the script, we will help you.