skills$openclaw/apple-mail-search
gumadeiras5.8k

by gumadeiras

apple-mail-search – OpenClaw Skill

apple-mail-search is an OpenClaw Skills integration for data analytics workflows. Fast & safe Apple Mail search with body content support.

5.8k stars2.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

nameapple-mail-search
descriptionFast & safe Apple Mail search with body content support. OpenClaw Skills integration.
ownergumadeiras
repositorygumadeiras/apple-mail-search-safe
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @gumadeiras/apple-mail-search-safe
last updatedFeb 7, 2026

Maintainer

gumadeiras

gumadeiras

Maintains apple-mail-search in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
839 B
SKILL.md
2.4 KB
SKILL.md

name: apple-mail-search description: Fast & safe Apple Mail search with body content support. homepage: https://clawdhub.com/gumadeiras/apple-mail-search-safe repository: https://github.com/gumadeiras/apple-mail-search-cli metadata: {"clawdbot":{"emoji":"📧","requires":{"bins":["fruitmail"]},"install":[{"id":"node","kind":"node","package":"apple-mail-search-cli","bins":["fruitmail"],"label":"Install fruitmail CLI (npm)"}]}}

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 <query>Search by sender email
unreadList unread emails
body <id>Read full email body (AppleScript)
open <id>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/apple-mail-search-cli

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install apple-mail-search?

Run openclaw add @gumadeiras/apple-mail-search-safe in your terminal. This installs apple-mail-search into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/gumadeiras/apple-mail-search-safe. Review commits and README documentation before installing.