Hello,
First of all there is no standard way to achieve ur req becoz message in PI can be failed due to many reasons and how u would catch those exceptions which occur at runtime for instance connectivity errors?
So IMO, look for some custom mechanism. I have implemented something very similar in my landscape. So it's certainly possible but u have to write custom java code for that
Customize Alerts Using Job in PI 7.31/PO
Thanks
Amit Srivastava