Send e-mail notifications based on different events