6061bd2a78670d14db023b953138641bb8386ffc
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>
Description