CVE-2026-1299: reject email header values containing newlines without
whitespace to prevent header injection and info leak via the buffer protocol
CVE-2024-6923: ensure email headers are encoded and verified correctly,
raising exceptions for malformed input to prevent processing of invalid or dangerous headers