跳到正文
TakoAPI
返回技能列表

apple-mail-search-safe

由 gumadeiras 提供

Communication
3.3k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Fast & safe Apple Mail search with body.

描述

该技能的功能

Searches Apple Mail.app on macOS using direct SQLite queries against the local mail database. Supports filtering by subject, sender, date range, and read status, plus reading full email bodies via AppleScript and opening messages in Mail.app.

SQLite queries against the local Envelope Index return results in ~50ms compared to 8+ minutes with AppleScript full iteration.

何时使用

  • Finding an invoice email from last month
  • Checking all unread emails from a specific domain
  • Extracting email subjects into JSON for scripting
  • Locating a message by sender without scrolling through Mail.app
  • Reading the full body of a specific email by ID

示例工作流

输入

User asks: find unread emails from Amazon in the last 30 days

智能体
  1. 1

    Run fruitmail sender "@amazon.com" --days 30 --unread to query the SQLite database

  2. 2

    Parse the returned list of matching messages

  3. 3

    Select a message ID from the results

  4. 4

    Run fruitmail body <id> to fetch the full email body via AppleScript

输出

List of matching Amazon emails with full body content of the selected message

安装

clawhub install gumadeiras/apple-mail-search-safe

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

链接