Imitate command line options of "mail"