send email in new thread