mail-merge: support sending mail with sendmail