Mailgate should not deal with the encoding of message.

Mailgate does not "know" how the message is going to be dealt with.  So
trying to guess the right charset/encoding at this stage is not right.
See xopgi.mail_threads.