You can change libnotify and libhildonnotify (which is what the programs use to display the notifications) to not display certain notifications, depending on contents, sender, etc.