If True, any defects encountered will be raised as errors. If False (the default), defects will be passed to the register_defect() method.
email.policy/Policy.raise_on_defect
Policy.raise_on_defect