Bug: IMAP connector skips existing emails during initial sync #290

Closed
opened 2026-04-05 16:17:16 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @axeldunkel on 8/16/2025

Bug: IMAP connector skips existing emails during initial sync

Description

The IMAP connector fails to synchronize existing/historical emails when setting up a new ingestion. Only new emails that arrive after the sync process starts are fetched. This results in data loss as all pre-existing emails in the mailbox are never imported.

Current Behavior

  • Set up a new IMAP ingestion for a mailbox containing existing emails
  • The connector fetches only new incoming emails
  • All emails that existed before the sync started are permanently skipped
  • This happens consistently on every fresh ingestion setup (at least with certain IMAP servers)

Expected Behavior

  • Initial sync should fetch ALL emails in the mailbox
  • Subsequent syncs should fetch only new emails (incremental sync)
  • No emails should be skipped or lost
*Originally created by @axeldunkel on 8/16/2025* ## Bug: IMAP connector skips existing emails during initial sync ### Description The IMAP connector fails to synchronize existing/historical emails when setting up a new ingestion. Only new emails that arrive after the sync process starts are fetched. This results in data loss as all pre-existing emails in the mailbox are never imported. ### Current Behavior - Set up a new IMAP ingestion for a mailbox containing existing emails - The connector fetches only new incoming emails - All emails that existed before the sync started are permanently skipped - This happens consistently on every fresh ingestion setup (at least with certain IMAP servers) ### Expected Behavior - Initial sync should fetch ALL emails in the mailbox - Subsequent syncs should fetch only new emails (incremental sync) - No emails should be skipped or lost
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OpenArchiver#290