'Attach message in the text portion of multipart/alternative'

def set_text(self, message):

    from email.mime.text import MIMEText
    part = MIMEText(message, u'plain', u'utf-8')
    self.msg_alternative.attach(part)
