working on sendmail