Page mail_people, leave out the owner's addresses, and shorten its rows #34
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/people-paging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Output-efficiency feedback on
mail_peoplefrom a live session.Changes
-.include_self: bool = false. Self is the configured From address of each account, plus every From seen in a Sent or Drafts mailbox of that account, which catches aliases with no config. The subquery is a row value, so SQLite builds the set once (LIST SUBQUERY, not correlated).first_seen | last_seenbecomes oneseencell:2026-02-19when both are the same day, else2015-08-07..2015-08-26.cursorinput, and the footermail_searchalready uses:next_cursor=N more=M total=T. The order isreceiveddescending, then address, so pages are stable.min_receiveddrops the long tail.The footer reuses the existing convention rather than the proposed
-- 100 of 342 shownform, so agents parse one format across tools.Breaking for callers that parse rows
The row now has 4 cells instead of 5, and the response ends with a footer line. With the defaults, the owner's addresses no longer appear.
Tests
make check: 86 unit tests pass.make test-integration: 7 pass against GreenMail.min_received, and the row rendering.🤖 Generated with Claude Code
Held for the next batch of changes: no 0.2.2 release for this PR alone. It ships in the first release that follows its merge.