changed to email notification