make send_email_* methods easier to overwrite