This is https://www.rfc-editor.org/rfc/rfc4551#section-3.5 which allows for a server response such as
Instead of its own case, this should probably just be part of
public enum MailboxData: Hashable {
…
case search([UnknownMessageIdentifier], ModificationSequenceValue? = nil)
…
}
and
MailboxData.SearchSort should be removed.