I have done something similar to prevent emails from going out to the guest account (guest@logicbase.com). You will need to modify the SD.IncidentManagement project in a few places, to check for exclusions before you send the email. The places where the emails are sent are:
- In the CreateIncidentAdvanced model, in the Send Notification embedded model
- In the Customer Confirm Resolution model (both Have Customer Confirm Resolution and Send Incident Survey Email)
- Primary model, in Set Permissions and Notify Contacts
For more flexibility, you might want to create your own application properties (or just add a new property to ServiceDeskSettings), so you can change the exclusion list in the future from the Process Manager without modifying the workflow.