namespace Wino.Domain.Interfaces { public interface IOutlookChangeProcessor : IDefaultChangeProcessor { /// /// Interrupted initial synchronization may cause downloaded mails to be saved in the database twice. /// Since downloading mime is costly in Outlook, we need to check if the actual copy of the message has been saved before. /// /// MailCopyId of the message. /// Whether the mime has b Task IsMailExistsAsync(string messageId); /// /// Updates Folder's delta synchronization identifier. /// Only used in Outlook since it does per-folder sync. /// /// Folder id /// New synchronization identifier. /// New identifier if success. Task UpdateFolderDeltaSynchronizationIdentifierAsync(Guid folderId, string deltaSynchronizationIdentifier); } }