KamoCRM

Targeted index backfill for removed-attachment counts; conversations carry the count

FeatureEmailService
Shipped
November 8, 2026 at 8:15 AM UTC
Author
Kamo
Commit
7ac4363

Listings served from email_metadata.search_index only showed antivirusRemoved for messages indexed after b05af4f. Only mail delivered after the Antivirus mail filter went live (2026-11-08 ~01:00 UTC) can hold a placeholder, so POST **************** (X-Internal-Auth) takes only rows dated since then that lack the marker, fetches just the X-Kamo-Antivirus header per (member, folder) in one IMAP round trip through the shared pool, and re-reads + re-indexes only messages whose header says removed=<n>. Bounded (row cap), throttled (pause between folders), singleton lease, idempotent. Nothing schedules it. /conversations rows: **************** (column added by hand as kamo, shared-lib f4048814) is summed per thread on index and raised (never double counted) on a re-index.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing