<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fetch_message(self, msgnum):
 """ Given a message number, return the Email.Message object. @Params msgnum - message number to find @Returns Email.Message object for the given message number """

        self.imap_connect()
        status, data = self.mailbox.fetch(msgnum, "(RFC822)")
        self.imap_disconnect()

        for response_part in data:
            if isinstance(response_part, tuple):
                return email.message_from_string(response_part[1])