sending email - handling errors