code: def message_id(self) -> Optional[UnstructuredHeader]:
          
          try:
              return cast(UnstructuredHeader, self[b'message-id'][0])
          except (KeyError, IndexError):
              return None
docs: The ``Message-Id`` header.