c.body_encoding = email.charset.QP
m = email.message.Message()
m.set_payload("My message with an '\\u05d0' in it.", c)
print(m.as_string())
How do I use Python 3.2 email module to send unicode messages encoded in utf-8 with quoted-printable?