fixes for python 3 and plain text body

Fixes a string issue when running under Python 3 and fixes MIMEText to correctly use self.body.