Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

imapimap 搜索

Agent Skill

imap 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,758

周安装

597

GitHub Stars

1

下载量

4,633
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:imap(imap 搜索)
来源仓库:https://github.com/ivangdavila/imap
安装命令:
openclaw skills install imap
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install imap

简介

用于安全读取和搜索 IMAP 邮箱邮件。

  • 适合在 OpenClaw 中查找和筛选相关信息时使用。
  • 支持 UID 提取、附件感知和精确过滤器功能。
  • 使用时需确认邮箱权限和同步频率设置。imap 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装方式:通过 clawhub 使用 openclaw skills install 命令安装。

SKILL.md

name
IMAP
slug
imap
version
1.0.0
homepage
https://clawic.com/skills/imap
description
Read, search, and sync IMAP mailboxes with UID-safe fetches, precise filters, and attachment-aware workflows.
changelog
Built a deeper IMAP workflow for reliable mailbox review, incremental sync, safer flag handling, and attachment triage.
metadata
{"clawdbot":{"emoji":"📬","requires":{"bins":[]},"os":["linux","darwin","win32"]}}

When to Use

Use this skill when the user needs to inspect or operate an IMAP mailbox across Gmail, Fastmail, ProtonMail Bridge, Exchange-compatible gateways, or self-hosted mail servers.

Activate it for inbox search, unread triage, header and body fetches, attachment handling, folder mapping, or incremental mailbox sync when correctness matters more than quick ad hoc scraping.

Architecture

Memory lives in ~/imap/. If ~/imap/ does not exist, run setup.md. See memory-template.md for the default structure and file templates.

~/imap/
├── memory.md       # activation defaults, mutation policy, preferred reporting style
├── accounts.md     # mailbox-specific endpoints, auth notes, and server capabilities
├── folder-map.md   # canonical folder mapping and provider quirks
├── sync-state.md   # UIDVALIDITY, last UID, MODSEQ, and sync checkpoints
└── playbooks.md    # saved mailbox workflows and reusable search recipes

Quick Reference

Use these files when the current mailbox task needs more detail than the core rules provide.

TopicFile
Setup and activation defaultssetup.md
Memory and file templatesmemory-template.md
Session planning and discoverysession-strategy.md
Search and fetch patternssearch-and-fetch.md
State, flags, and sync rulesstate-and-flags.md
Attachment and MIME handlingattachments.md
Failure diagnosis and provider quirkstroubleshooting.md

Core Rules

1. Discover mailbox capabilities before making assumptions

  • Identify server capabilities, namespace layout, delimiter behavior, and special-use folders before building commands or interpreting results.
  • Check whether the server supports features such as UIDPLUS, CONDSTORE, QRESYNC, MOVE, or XLIST replacements.
  • Folder names, archives, and flag behavior vary by provider, so do not hard-code Gmail semantics onto every mailbox.

2. Default to read-safe operations unless the user clearly wants mutation

  • Start with safe inspection patterns such as capability discovery, folder listing, EXAMINE, header fetches, and targeted body retrieval.
  • Treat delete, move, copy, expunge, and bulk flag updates as mutating actions that require either explicit user approval or a previously confirmed standing policy.
  • If the user only asked to inspect or summarize mail, do not silently mark messages seen or alter mailbox state.

3. Use UIDs and durable sync markers, not volatile sequence numbers

  • Sequence numbers shift as mail arrives or is removed, so they are unsafe for persistent tracking.
  • For repeatable workflows, store UIDVALIDITY, last processed UID, and when available HIGHESTMODSEQ or related sync checkpoints in ~/imap/sync-state.md.
  • If UIDVALIDITY changes, treat prior cursors as invalid and rescan instead of trusting stale state.

4. Fetch the minimum data that answers the question

  • Start with folder listing, counts, flags, and envelope or header data before downloading full bodies or attachments.
  • Escalate to body sections, MIME structure, or attachments only when the user actually needs that detail.
  • Smaller fetches reduce latency, bandwidth, and the chance of dragging sensitive content into unnecessary downstream processing.

5. Search with explicit server-side filters and report what they mean

  • Prefer precise IMAP search constraints such as date ranges, sender, subject fragments, flags, size limits, or UID windows over broad mailbox scans.
  • Be clear about whether the server search is header-only, text-oriented, charset-sensitive, or provider-specific in its matching behavior.
  • When search semantics are ambiguous, explain the limitation and offer a narrower or confirmatory pass.

6. Treat MIME and attachments as structured data, not opaque blobs

  • Read BODYSTRUCTURE or equivalent metadata before assuming where text lives or which parts are attachments.
  • Distinguish inline parts from downloadable attachments, decode filenames safely, and preserve charset and transfer-encoding details.
  • Avoid downloading large attachments unless needed, and report part identifiers, sizes, and media types first when triaging.

7. Keep credentials out of skill memory and scope network use tightly

  • Store only non-secret connection notes, capabilities, and workflow preferences under ~/imap/.
  • Never ask the user to paste account passwords into memory files; use existing local auth flows, app passwords, OAuth-backed bridges, or other secure runtime mechanisms the environment already supports.
  • Restrict network activity to the user-configured IMAP endpoint needed for the mailbox task at hand.

IMAP Traps

  • Treating message sequence numbers as stable identifiers -> follow-up fetches hit the wrong message after mailbox changes.
  • Marking mail seen during a read-only review -> the user loses unread state without asking for it.
  • Downloading entire folders to answer a narrow question -> latency, bandwidth, and privacy costs rise for no gain.
  • Ignoring UIDVALIDITY resets -> incremental sync silently skips or duplicates messages.
  • Assuming every server supports MOVE, IDLE, or Gmail-style special folders -> commands fail or behave differently across providers.
  • Parsing attachments without checking MIME structure first -> inline parts, filenames, or charsets get misread.

External Endpoints

EndpointData SentPurpose
User-configured IMAP or IMAPS serverauthentication material handled by the runtime, mailbox commands, requested headers, bodies, flags, and attachmentslist folders, search messages, fetch content, and update mailbox state when approved

No other data is sent externally.

Security & Privacy

Data that stays local:

  • Activation defaults, provider quirks, sync checkpoints, and reusable playbooks stored under ~/imap/
  • Mailbox notes the user explicitly wants remembered for future sessions

Data that leaves your machine:

  • Only the IMAP requests needed to talk to the configured mailbox server
  • Message metadata, bodies, or attachments fetched from that mailbox when the current task requires them

This skill does NOT:

  • store mailbox passwords or OAuth tokens in ~/imap/
  • assume mutating mailbox access is allowed by default
  • send mailbox content to undeclared third parties
  • treat sequence numbers as durable sync state

Trust

By using this skill, data is exchanged with the user-configured mail provider or IMAP bridge. Only use it with mailbox systems and local credential flows the user already trusts.

Related Skills

Install with clawhub install <slug> if user confirms:

  • api - use when the mailbox task is really an API integration or authenticated service wrapper problem.
  • http - use when the work is request shaping, header debugging, or protocol inspection outside an IMAP session.
  • json - use when mailbox results need structured transformation, normalization, or downstream machine-readable output.
  • code - use when the user needs a full implementation, parser, or sync worker built and verified end to end.
  • bash - use for shell-first mailbox tooling, local automation, and repeatable command wrappers.

Feedback

  • If useful: clawhub star imap
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.49%
按下载量换算4,563

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install imap 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills