set headers when sending email