-
released this
2026-08-21 18:01:59 -05:00 | 26 commits to main since this releaseThe mail parsing layer is no longer part of the iCloud tenant. Seven modules that
never knew which mailbox they were looking at moved tomcp_gateway/mail/, ahead of the
Gmail tenant that will reuse every one of them. No behaviour changed anywhere.Changed
-
authresults,hygiene,unsubscribe,compose,models,messageidand
headersmoved frommcp_gateway/icloudmail/tomcp_gateway/mail/— roughly 2,350
lines. Each takes an already-parsedemail.message.Messageand returns a value; none
opens a connection or names a provider, which is what made the move a rename rather than
a redesign.client.py,smtp.pyandtools.pystayed. Those are the tenant.Done before the Gmail client rather than after it. Letting
gmail/import from
icloudmail/in the meantime would have meant rewriting every one of these imports a
second time, and leaving a package named for one provider as the home of shared code.
Notes
-
The acceptance condition was that no test could need editing except its import
lines, and it held: 1084 tests green, and every changed line undertests/is an
import statement. The seven moved bodies are byte-identical to what lefticloudmail/.
A test that had needed a real edit would have meant something moved that should not have. -
Six of the twenty files rewritten are in
probes/, which is gitignored, so the gate
cannot see them and this diff does not show them. They were fixed in the same pass. Left
alone they would have raisedImportErrorthe next timeCLAUDE.md's "re-run
m2_verify.pywhenever the write path is touched" rule was followed — months later, and
reading as a broken probe rather than a stale import.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-