make sendmail customizable