Skip IMAP SORT request if folder is empty