add error email notifications