تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

apple-mail-search

بواسطة mneves75

Apple Apps & Services
2.7kالتنزيلات وفق ما يذكره clawskills.sh
2النجوم
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط