Implemented email notification