add notifications whenever a message is sent