use ssl by default
send email on failure