I was able to resolve my issue by using the Email::StripMIME perl module. I just followed its suggested usage in a tiny perl script and piped its output into rt-mailgate. The devs should consider using it to convert html to text so that everyone (me) can be happy with it out of the box.