feat: add mail source backfill controls

This commit is contained in:
Christian Krakau-Louis
2026-05-22 20:22:28 +02:00
parent b46087a1a1
commit b5d0ecaf85
4 changed files with 74 additions and 6 deletions
+1 -1
View File
@@ -29,6 +29,7 @@ Recently improved:
- Mail source import history is visible in the Mail Sources UI.
- Individual mail sources can be manually imported from the Mail Sources UI.
- Import-history rows include sanitized per-attachment outcomes and imported report IDs.
- Mail source backfills can be launched from the UI with configurable search windows.
- The current Alpine-based UI is allowed by CSP and renders dynamic tables in real browsers.
Implementation note:
@@ -39,7 +40,6 @@ Implementation note:
Objective: make mailbox imports auditable and make report totals trustworthy.
Priority tasks:
- Add mailbox search controls for date-range backfills.
- Report duplicate skips separately from parse failures.
- Improve source rollups so a source IP tracks pass/fail counts over time.
+1 -1
View File
@@ -64,10 +64,10 @@ Recently delivered:
- Mail source import history is now visible from the Mail Sources UI.
- A single mail source can be manually imported from the Mail Sources UI, with the result recorded in import history.
- Import history now includes per-attachment details for imported reports, duplicates, parse errors, unsupported attachments, and imported report IDs.
- Mail sources can be backfilled from the UI with 7-day, 30-day, 90-day, or custom search windows.
- The current Alpine-based UI can run under the configured CSP, so dynamic tables render in real browsers.
Next tasks:
- Add mailbox search controls for date range/backfill without requiring code changes.
- Improve source aggregation so each sender IP keeps pass/fail totals instead of only the latest result.
Exit criteria:
+1 -1
View File
@@ -93,7 +93,7 @@ This file tracks the specific implementation tasks for each milestone of the DMA
- [x] Show recent import history in the Mail Sources UI
- [x] Add manual import trigger per mail source
- [x] Add per-import result details for duplicates, parse failures, unsupported attachments, and imported report IDs
- [ ] Add retry/backfill controls per mail source
- [x] Add retry/backfill controls per mail source
## Milestone 3: Database Integration