← 返回
未分类 中文

Apple Mail Search Safe.Bak

Apple Mail search on macOS with fast metadata and full body lookup. Use for finding messages in Mail.app by subject/sender/recipient/date, opening messages,...
macOS上的Apple Mail搜索功能,支持快速元数据检索和全文搜索。可通过主题、发件人、收件人、日期等条件查找邮件并打开消息。
hellohushuai
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 572
下载
💾 0
安装
1
版本
#latest

概述

Fruitmail (Fast & Safe)

Fast SQLite-based search for Apple Mail.app with full body content support.

Installation

npm install -g apple-mail-search-cli

Usage

# Complex search
fruitmail search --subject "invoice" --days 30 --unread

# Search by sender
fruitmail sender "@amazon.com"

# List unread emails
fruitmail unread

# Read full email body (supports --json)
fruitmail body 94695

# Open in Mail.app
fruitmail open 94695

# Database stats
fruitmail stats

Commands

CommandDescription
----------------------
searchComplex search with filters
sender Search by sender email
unreadList unread emails
body Read full email body (AppleScript)
open Open email in Mail.app
statsDatabase statistics

Search Options

--subject <text>   Search subject lines
--days <n>         Last N days
--unread           Only unread emails
--limit <n>        Max results (default: 20)
--json             Output as JSON
--copy             Copy DB before query (safest mode)

Examples

# Find bank statements from last month
fruitmail search --subject "statement" --days 30

# Get unread emails as JSON
fruitmail unread --json | jq '.[] | .subject'

# Find emails from Amazon
fruitmail sender "@amazon.com" --limit 50

Performance

MethodTime for 130k emails
-----------------------------
AppleScript (full iteration)8+ minutes
SQLite (this tool)~50ms

Technical Details

  • Database: ~/Library/Mail/V{9,10,11}/MailData/Envelope Index
  • Query method: SQLite (read-only) + AppleScript (body content)
  • Safety: Read-only mode prevents modification; optional --copy mode available

Notes

  • macOS only — queries Apple Mail.app's local database
  • Read-only — can search/read but cannot compose/send
  • To send emails: Use the himalaya skill (IMAP/SMTP)

Source

https://github.com/gumadeiras/fruitmail-cli

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 16:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

resource-master

hellohushuai
根据知识库中的服务器资源测算文档进行服务器资源评估和汇总。使用场景:用户询问医疗产品项目的服务器资源配置、硬件资源测算、资源汇总等。支持多产品整合评估。
★ 0 📥 605

Ai Resource Master

hellohushuai
大模型服务器资源评估。用于医疗行业大模型应用场景的算力资源需求评估和测算,根据门诊/住院诊疗量和大模型应用场景数推导GPU算力需求。使用场景:用户询问大模型算力评估、AI服务器资源配置、GPU算力需求测算等。
★ 0 📥 537

Get Resource Element

hellohushuai
根据产品名称查询对应标准硬件资源评估要点,智能对比用户提供内容是否完整并返回缺失项或确认完整。
★ 0 📥 401