If the expunged message or messages are in the selected mailbox, the server notifies the client using MessageExpunged (or MessagesVanished if the QRESYNC extension has been enabled via EnableQuickResync(CancellationToken) or EnableQuickResyncAsync(CancellationToken)).
If the expunged message or messages are in another mailbox, the UidNext and Count properties will be updated and the appropriate UidNextChanged and CountChanged events will be emitted for the relevant folder. If the QRESYNC extension is enabled, the HighestModSeq property will also be updated and the HighestModSeqChanged event will be emitted.
|if a client requests Selected mailbox specifier, the meaning of a message index can change at any time, so the client cannot use message indexes in commands anymore. The client MUST use API variants that take UniqueId or a IListT. The meaning of ** can also change when messages are added or expunged. A client wishing to keep using message indexes can either use the SelectedDelayed mailbox specifier or can avoid using the event entirely.with the|