src/email.php: Add some sanity-checking of email headers passed to 'sendTextEmail'.