Hi Sreenivas,
This requirement is not possible in PI, it is possible in ABAP. ABAPers need to write code for triggering the mail if if fails in ECC.
Please find below link it will help for you.
Send mail via SAP ABAP Code - Code Gallery - SCN Wiki
Regards,
Papireddy.