CVE-2023-27043: add a strict parsing mode to prevent incorrect address interpretation.
By default, strict=True is enabled. If you need the legacy behavior, explicitly set strict=False
when calling parseaddr() or getaddresses()
Additionally, strict parsing can be disabled globally by setting the environment variable
PYTHON_EMAIL_DISABLE_STRICT_ADDR_PARSING to a non-empty string or by creating the configuration
file /etc/python/email.cfg with the following content:
[email_addr_parsing]
PYTHON_EMAIL_DISABLE_STRICT_ADDR_PARSING = true