Refines sendmail