Hook up sending email notifications