diff --git a/packages/local-sync/src/local-sync-worker/imap/fetch-messages-in-folder.js b/packages/local-sync/src/local-sync-worker/imap/fetch-messages-in-folder.js index 5cc76921f..4e21ceeae 100644 --- a/packages/local-sync/src/local-sync-worker/imap/fetch-messages-in-folder.js +++ b/packages/local-sync/src/local-sync-worker/imap/fetch-messages-in-folder.js @@ -357,7 +357,8 @@ class FetchMessagesInFolder extends SyncOperation { // this._logger.info('FetchMessagesInFolder: highestmodseq matches, nothing more to fetch') return Promise.resolve(); } - shallowFetch = this._box.fetchUIDAttributes(`1:*`, {changedsince: highestmodseq}); + shallowFetch = this._box.fetchUIDAttributes(`1:*`, + {modifiers: {changedsince: highestmodseq}}); } else { const range = `${this._getLowerBoundUID(SHALLOW_SCAN_UID_COUNT)}:*`; // this._logger.info({range}, `FetchMessagesInFolder: Shallow attribute scan`)