Long-pressing a search result enters selection mode; tapping further results toggles them. The existing bottom bar (Archive, Delete, Mark as spam, Move to folder) operates on the selected emails via a new _selectedSearchIds set. _selectedEmailIds returns the right IDs for each mode (search vs. normal thread list). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>