improvements in email notifications