mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
The new MailSetEntry CREATE/DELETE path applies changes silently to MailStore + LocalStore; debug logs make it visible in the dev log so we (and users running with RUST_LOG=debug) can confirm which path was taken on a given event: - `Event bus: cloning mail X from <source> → <target> (no REST)` — hit path, the mail was already cached in another folder. - `Event bus: targeted load_mail(...) → <target> (1 REST call)` — miss path, the mail had never been seen. - `Event bus: removed mail X from <source> (no REST)` — DELETE applied without re-listing. Live-tested: a TB-initiated MOVE between two cached folders now logs the cloning + removed lines and zero `Pre-fetching` / `Removed N deleted` lines for the affected folders, confirming we no longer touch the REST API for that case.