6061bd2a78
Pass 0 (unlimited) to m.Search so the mail layer returns all matching headers; the existing post-filter loop already caps at the caller's limit, mirroring ListCmd. Add TestSearchLimitCountsVisibleOnly to prove filtering happens before the cap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>