How to filter notification email

Hello, I need to set 3 email notification in which:

  • I receive only the BGP Peers who’s session are down;
  • SFP hardware problem;
  • new firmware available.

How to filter this notification?