Hit in production 2026-07-16: --reply-to-search subject fragments could not find a 10-day-old thread because the client-side subject scan only covers the newest 100 All Mail messages (GitHub-notification volume pushes real threads out of the window in hours). Workaround used: resolve the RFC Message-ID via server-side SEARCH and pass (no window limit). Fix: make the window env-tunable (e.g. MAIL_SEND_SCAN_WINDOW) and/or try a server-side ASCII SUBJECT SEARCH first, falling back to the client-side unicode scan.
🤖 Generated with Claude Code
Hit in production 2026-07-16: --reply-to-search subject fragments could not find a 10-day-old thread because the client-side subject scan only covers the newest 100 All Mail messages (GitHub-notification volume pushes real threads out of the window in hours). Workaround used: resolve the RFC Message-ID via server-side SEARCH and pass (no window limit). Fix: make the window env-tunable (e.g. MAIL_SEND_SCAN_WINDOW) and/or try a server-side ASCII SUBJECT SEARCH first, falling back to the client-side unicode scan.
🤖 Generated with Claude Code