require_mail: look for sendEmail before sendmail.