Return the output character set. This is self.output_charset if that is not None, otherwise it is self.input_charset.
email.charset/Charset.get_output_charset
Charset.get_output_charset