add sendmail
add email alert
email fixes