返回 Skill 列表
extension
分类: 开发与工程无需 API Key

notmuch

使用`notmuch`命令行工具搜索和阅读本地邮件。当用户要求查找邮件、检查会话线程或查看邮件标签时使用。

person作者: jakexiaohubgithub

Notmuch

Search local email and inspect message threads with notmuch.

notmuch search --format=json --limit=20 'tag:unread'

Search Threads

Preferred command (machine-readable JSON):

notmuch search --format=json --limit=20 'from:alice subject:"design review" date:2026-02-01..'

Common query terms:

  • from:<email-or-name>
  • to:<email-or-name>
  • subject:<term>
  • tag:<tag-name>
  • date:YYYY-MM-DD..YYYY-MM-DD
  • thread:<thread-id>

Read Messages

Headers-only summary for a thread/query:

notmuch show --format=json --body=false 'thread:0000000000000123'

Full text output:

notmuch show --format=text 'thread:0000000000000123'

Structured output with bodies:

notmuch show --format=json 'thread:0000000000000123'

List Tags

notmuch search --output=tags '*'

Guardrails

Prefer read-only commands in this skill:

  • notmuch search ...
  • notmuch show ...

Avoid mutating commands unless the user explicitly requests them (for example notmuch new, notmuch tag, notmuch insert).