changed the Email notification module