email-connect/tests
tegwick 86f22c2e65
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
EMAIL-WP-0005-T01: add Maildir mailbox source
Adds MaildirMailboxSource reading new/ and cur/, wired through
source.maildir_dir and mailbox.protocol: maildir. Message identity is the
Maildir unique name without its :2,FLAGS suffix, so it survives the new/ to
cur/ move; it is carried on MailboxSourceMessage.dedup_uid and appended to the
message dedup key only when set, leaving fixture and IMAP keys unchanged.

Cursor ordering parses the Maildir delivery time instead of comparing names
lexically. mark_seen and a missing directory are rejected, matching the
read-only IMAP contract.

Also fixes the parse-failure path, which keyed identity on raw_message_ref.
A new/ to cur/ move rewrites that ref, so an unparseable message re-registered
as new on every rescan; it now prefers the source uid when one exists.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 01:31:58 +02:00
..
fixtures feat: add expected recipient reporting 2026-06-02 03:07:13 +02:00
test_maildir.py EMAIL-WP-0005-T01: add Maildir mailbox source 2026-08-14 01:31:58 +02:00
test_parser.py feat: finish mailbox evidence scanner mvp 2026-06-02 02:24:39 +02:00
test_recipients.py feat: add expected recipient reporting 2026-06-02 03:07:13 +02:00
test_scanner.py feat: add expected recipient reporting 2026-06-02 03:07:13 +02:00
test_transactional.py Complete EMAIL-WP-0004 transactional invitation mail delivery. 2026-08-12 13:32:11 +02:00