adding and testing mail notifications.