* Added the missing functionality for email notification