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

weavmailweavmail 命令行

Agent Skill

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

总安装

11,832

周安装

498

GitHub Stars

公开资料未说明

下载量

4,143
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install weavmail

简介

使用 weavmail CLI 管理当前任务的电子邮件。当您需要阅读、发送、回复或移动电子邮件作为完成任务的一部分时使用。

SKILL.md

name
weavmail
description
Use weavmail CLI to manage emails for the current task. Use when you need to read, send, reply to, or move emails as part of completing a task.
metadata

weavmail is a command-line email client designed for AI agents. Use it to read, send, reply to, and organize emails

Setup

Install once before first use:

uv tool install weavmail

Configure an account (named default):

weavmail account config \
  --imap-host imap.example.com \
  --smtp-host smtp.example.com \
  --username you@example.com \
  --password your-app-password \
  --addresses you@example.com

--username and --password set both IMAP and SMTP credentials at once. The account name defaults to default and can be omitted from all subsequent commands.

Each option can be updated independently — only the options you pass are changed, everything else is preserved. For example, to update just the password:

weavmail account config --password new-password

--addresses is a comma-separated list of email addresses that are authorized as senders for this account (e.g. --addresses you@example.com,alias@example.com). All addresses listed here can be used as the --from address when sending mail.

To view the current configuration of an account, run account config without any options:

weavmail account config        # show default account
weavmail account config work   # show account named "work"

After Configuring an Account

After any account is configured, always run the following automatically:

weavmail mailbox

Inspect the output and identify the Sent and Trash folders (names vary by provider, e.g. Sent, Sent Messages, [Gmail]/Sent Mail, Trash, Deleted Messages, [Gmail]/Trash). Then save them to the account config:

weavmail account config --sent-mailbox "Sent" --trash-mailbox "Trash" --archive-mailbox "Archive"

All three fields are optional — if any cannot be identified with confidence, skip it. They do not affect other functionality when unset.


Sync Inbox

Fetch the latest emails from INBOX and save them as local Markdown files:

weavmail sync

Options:

  • --account NAMES — comma-separated account names to sync (default: all configured accounts)
  • --mailbox FOLDER — sync a different folder (default: INBOX)
  • --limit N — number of most-recent messages to fetch (default: 10)

Each email is saved to ./mails/<account>_<mailbox>/<uid>.md with YAML front matter:

---
uid: "12345"
account: default
mailbox: INBOX
subject: Hello there
from: sender@example.com
to:
- you@example.com
cc: []
date: "01 Jan 2026 12:00:00 +0000"
flags: []
---

Mail body here...

Always sync before reading mail. After syncing, read .md files directly — the body starts after the second ---.


List Mailboxes

List all available IMAP folders for the account:

weavmail mailbox

Use this to discover exact folder names before syncing a non-INBOX mailbox. Folder names are case-sensitive.


Move a Mail

Move an email to another folder, then automatically sync the source mailbox:

weavmail move mails/default_INBOX/12345.md "Archive"

The source mailbox is synced after the move — the local file will be deleted automatically.

To delete a mail, move it to the Trash folder. The exact name varies by provider (e.g. Trash, Deleted Messages, [Gmail]/Trash). Use weavmail mailbox to find the correct name first.


Trash a Mail

Move one or more emails to the account's trash mailbox, then automatically sync the source mailbox:

weavmail trash mails/default_INBOX/12345.md
weavmail trash mails/default_INBOX/12345.md mails/default_INBOX/67890.md

Multiple MAIL_FILE arguments can be passed for batch operations. The trash mailbox is read from each mail's account --trash-mailbox configuration. An error is raised if --trash-mailbox is not configured for the account.

The source mailbox is synced after the move — the local file will be deleted automatically.


Archive a Mail

Move one or more emails to the account's archive mailbox, then automatically sync the source mailbox:

weavmail archive mails/default_INBOX/12345.md
weavmail archive mails/default_INBOX/12345.md mails/default_INBOX/67890.md

Multiple MAIL_FILE arguments can be passed for batch operations. The archive mailbox is read from each mail's account --archive-mailbox configuration. An error is raised if --archive-mailbox is not configured for the account.

The source mailbox is synced after the move — the local file will be deleted automatically.


Send a Mail

Write the body to a file, then send:

cat > /tmp/body.txt << 'EOF'
Your message here.
EOF

weavmail send \
  --to recipient@example.com \
  --subject "Hello" \
  --content /tmp/body.txt

--to, --cc, and --bcc are all repeatable for multiple recipients. --from defaults to the first configured address.


Reply to a Mail

weavmail send \
  --reply mails/default_INBOX/12345.md \
  --content /tmp/reply.txt

In reply mode, subject, to, and from are all inferred from the original mail's front matter. The original body is quoted and appended. In-Reply-To and References headers are set automatically. Override any of them with explicit options if needed.


Notes

  • Never guess UIDs. Always sync first, then reference files from the output.
  • Mailbox names are case-sensitive. Use weavmail mailbox to list exact names.
  • The mailbox field in front matter stores the original unescaped name (e.g. INBOX/Sent); the directory path uses _ as a separator.
  • Front matter is authoritative for metadata — always read it from the .md file.
  • All commands support --help for full option details, e.g. weavmail sync --help.

Multiple Accounts

Configure additional accounts by providing a name:

weavmail account config work \
  --imap-host imap.work.com \
  --smtp-host smtp.work.com \
  --username you@work.com \
  --password your-password \
  --addresses you@work.com

Then pass --account to any command to target that account:

weavmail sync --account work
weavmail sync --account work,personal   # sync multiple accounts at once
weavmail mailbox --account work
weavmail send --account work --to someone@example.com --subject "Hi" --content /tmp/body.txt

weavmail sync without --account syncs all configured accounts automatically.

For move and send --reply, the account is read from the mail file's front matter — you may pass --account as a safeguard: if it doesn't match the account in the front matter, the command will exit with an error. For trash and archive, the account is always read from each mail file's front matter (no --account option).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

79.03%
按下载量换算3,274

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills