Conversation
… generator ## New Features - Date-range filtering: before/after params on search() (#9) - Highlighted search results: **markers** via FTS5 highlight/snippet (#11) - Split get_attachment into get_email_links + get_email_attachment (#55) - Dynamic Mail version detection (auto-detect V10/V11/V12) (#57) - CLI wrappers: search, read, emails, accounts, mailboxes, extract (#61) - Skill generator: apple-mail-mcp integrate claude (#62) - --read-only server flag (prep for v0.3.0 write ops) (#63) ## Architecture - Extended add_account_mailbox_filter() with before/after params - Fixed search_fts_highlight() bugs: missing filters, row indexing, retry - Added _resolve_emlx_path() helper for split tools - JXA fallback raises clear error when date params used without index ## Tests - 313 unit tests pass (16 new: 5 V10 + 6 date-range + 5 highlight) - 31/31 integration tests pass (8 new for v0.2.0 features) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
search(mailbox="INBOX") returned zero results when the index stored "Inbox" (Exchange) instead of "INBOX" (IMAP). Use LOWER() in SQL comparisons for both mailbox filter and exclude_mailboxes. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- tools.md: add get_email_links, get_email_attachment, search params (before/after/highlight), mark get_attachment deprecated - search.md: add date-range filtering and highlighted results sections - configuration.md: add APPLE_MAIL_READ_ONLY, --read-only flag, new CLI commands (search, read, emails, accounts, mailboxes, extract, integrate claude) - README.md: update tools table (8 tools), add APPLE_MAIL_READ_ONLY - CLAUDE.md: update tool count, descriptions, CLI commands, config Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v0.2.0 doubles down on search and retrieval quality before introducing write operations in v0.3.0.
before/afterparams onsearch()(YYYY-MM-DD) (F4: Date-range filtering for search #9)highlight=Truewraps matched terms in**markers**(F6: Expose highlighted search results (search_fts_highlight) #11)get_email_links()+get_email_attachment()tools, old tool deprecated (Split get_attachment into separate attachment + links tools #55)V*dir, no more hardcoded V10 (Dynamic Mail version detection (V10 hardcoded) #57)search,read,emails,accounts,mailboxes,extractcommands (CLI wrappers for search and read #61)apple-mail-mcp integrate claudeoutputs a Claude Code skill file (Skill/integration generator command #62)--read-onlyserver flag — prep for v0.3.0 write ops (Add --read-only server flag #63)Also includes all v0.1.8 bug fixes (watcher crash, attachment cache leak, search error messages, timeout message).
Test plan
Known gaps (pre-merge)
--read-onlyflag accepted but not enforced (by design — v0.3.0 adds write tools)🤖 Generated with Claude Code