added code to send email in Account - still doesn't work