When one of our managed third-party apps experienced an unavailable API this weekend, Salesforce sent nearly 2,000 emails each to myself and the other systems admin in the course of a few minutes, all with the same message that the API was temporarily unavailable. It also sent the same number of emails to both of us alerting us that it had sent the email alert:
Mass email request "Mass Email (API)" is complete.
Addressed to: 2
Sent to: 2
How can I limit the number of emails Salesforce sends when an app has an error and when the mass email is sent?
In this case, this is the unsupported but managed app MC4SF (Mailchimp for Salesforce). I would like to hang on to it as long as possible because it gives real-time info on contact subscription status that the replacement apps don't provide.
I suspect I would not be able to modify a flow created as part of a managed package, and so far I have not found anything in the Apex triggers or classes that can be configured. Are there any workarounds, or are my only options to live with the alerts or uninstall it?