I recently set up an email gateway for our bug tracker, which was originally intended as a way for streamline error reporting from our server software. I told my colleagues about it, and they were also happy to have this feature, but I was horrified to discover the abuse of my poor system inflicted by entourage/outlook emails.
First, the sender's email address appears horribly mangled, like 'Name =?ISO-8859-1?B?TGp1bmdzdHL2bQ==?=" '. The body of the email is an HTML attachment, of course with an unnecessary amount of extra code. The attachments are particularly annoying, since they appear as ticket attachments in the bug tracker and the body of the ticket is empty.
I have done a bit of googling but only found solutions suggesting huge ugly awk or perl scripts, which seems neither maintainable nor robust enough to address all possible edge cases for outlook's HTML.
What is a better solution here?
Our target platform is windows server, and I would prefer something in python, but we have a cygwin installation and can therefore use other unix utilities if need be.