bpo-33529, email: Fix infinite loop in email header encoding (GH-12020) (GH-14162)

(cherry picked from commit c1f5667be1e3ec5871560c677402c1252c6018a6)
4 files changed