'Return a Message representation or raise a KeyError.'

def get_message(self, key):

    with self._lock:
        with self._get_fd(key) as fd:
            if self._factory:
                return self._factory(fd)
            else:
                return mailbox.MaildirMessage(fd)
