added email notifications