跳到正文
TakoAPI
返回技能列表

apple-mail-search

由 mneves75 提供

Apple Apps & Services
2.7k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Fast Apple Mail search via SQLite on macOS.

描述

该技能的功能

Searches Apple Mail emails by querying the local SQLite database directly. Returns results in ~50ms across large mailboxes. Read-only, macOS only, works with Mail.app metadata.

Queries the SQLite Envelope Index directly, bypassing AppleScript iteration and Spotlight (broken since Big Sur), making large mailbox searches ~10,000x faster.

何时使用

  • Find an invoice email by subject keyword
  • List all unread emails as JSON for scripting
  • Search emails from a specific sender domain
  • Export last 30 days of emails to CSV
  • Locate all emails with PDF attachments

示例工作流

输入

User asks: find all PDF attachments from bank of america in the last 30 days

智能体
  1. 1

    Run mail-search sender "@bankofamerica.com" -n 100 to get recent sender matches

  2. 2

    Pipe output through grep -i pdf or use mail-search attachment-type pdf separately

  3. 3

    Combine with mail-search recent 30 to narrow date range

  4. 4

    Format results with --json flag for structured output

输出

List of matching emails with subject, date, and attachment metadata

安装

clawhub install mneves75/apple-mail-search

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接