I was sure that something as common as MIME encoding must have been done
by somebody - and it turns out the email module offers everything we
I've committed a change that should turn Ceki's name into an accepted
header part, but right now iso-8859-1 is hardcoded (bad) and it looks
fairly incomplete to me.
It seems the email module has more to offer, in particular we should be
wrapping the body into a MIMEText object to get it properly escaped
as well (for example if author names get visible in the output).