Get the first part from the message and print it raw.

def getrawpart(self, msgid, stream=sys.stdout):
        """Get the first part from the message and print it raw.
        """
        for hdr, part in self._get(msgid):
            pl = part.get_payload(decode=True)
            if pl != None:
                print(pl, file=stream)
                break