send mail with another thread