Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

gomailgomail 命令行

Agent Skill

gomail 用于辅助测试设计、自动化测试和回归验证,适合在 OpenClaw 中需要补充测试、分析失败日志或验证功能改动时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,058

周安装

370

GitHub Stars

公开资料未说明

下载量

2,930
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install gomail

简介

通过 gomail 发件人 CLI 发送带有附件、模板和收件人管理的电子邮件。从 OpenClaw 发送或测试电子邮件传送时使用。

SKILL.md

name
gomail
description
Send emails via the gomail sender CLI with attachments, templates, and recipient management. Use when sending or testing email delivery from OpenClaw.

gomail Skill (OpenClaw)

Use the gomail sender CLI to send emails (with optional attachments and templates) from OpenClaw. This skill wraps the prebuilt Linux sender binary from the gomail project and exposes its flags as structured parameters.

Installation

Download the latest prebuilt Linux AMD64 release that contains the sender binary:

# From a directory on your PATH or the skill directory
LATEST_URL=$(curl -sL -o /dev/null -w '%{url_effective}' https://github.com/craftslab/gomail/releases/latest)
VERSION=${LATEST_URL##*/}          # e.g. v2.7.2
VERSION_NO_V=${VERSION#v}         # e.g. 2.7.2

# Note: the release tag includes a leading "v", but the tarball filename does not.
wget "https://github.com/craftslab/gomail/releases/download/${VERSION}/gomail_${VERSION_NO_V}_linux_amd64.tar.gz"
tar -xf "gomail_${VERSION_NO_V}_linux_amd64.tar.gz"

# Ensure the binaries are executable
chmod +x sender parser
  • Recommended: Place sender on your PATH (e.g. /usr/local/bin/sender) or keep it in the gomail skill directory and invoke it with ./sender.
  • This skill assumes a Linux environment compatible with the gomail Linux AMD64 builds.

Configuration

The sender tool reads mail server and sender configuration from a JSON file passed via --config. This skill includes a starter config template at sender.json (in the gomail skill directory). It includes:

  • SMTP server settings (host, port, TLS, auth)
  • Authentication credentials
  • A sender email address (the actual From address)

For OpenClaw, you can:

  • Use the bundled config template in the gomail skill directory, sender.json (recommended).
  • Or point --config to any other JSON file you manage.
Important: skill/sender.json is a template. Replace the placeholder values with real SMTP credentials and keep secrets out of source control.
Important: The --header flag only controls the human‑readable display name. The actual From email address is read from the sender field in the config file, as described in the gomail README.

Parameters (CLI)

This skill uses the sender command exactly as documented in the gomail README:

usage: sender --recipients=RECIPIENTS [<flags>]
Argument / FlagRequiredDescription
--config / -cPath to config JSON file, e.g. sender.json. Defines SMTP/server settings and the actual sender address.
--recipients / -pRecipients list, format: alen@example.com,cc:bob@example.com. Supports cc: prefix for CC recipients.
--attachment / -aComma‑separated attachment files, e.g. attach1.txt,attach2.txt. Paths are resolved relative to the working directory.
--body / -bBody text or path to a body file, e.g. body.txt.
--content_type / -eContent type: HTML or PLAIN_TEXT (default).
--header / -rSender display name, combined with sender from config to form the From header (e.g. "Your Name" <noreply@example.com>).
--title / -tSubject/title text for the email.
--dry-run / -nIf set, only outputs recipient validation JSON and exits; does not send the email.
--helpShow help.
--versionShow application version.

Basic usage

From inside the gomail skill directory (with a bundled config and body file):

./sender \
  --config="sender.json" \
  --attachment="attach1.txt,attach2.txt" \
  --body="body.txt" \
  --content_type="PLAIN_TEXT" \
  --header="Your Name" \
  --recipients="alen@example.com,bob@example.com,cc:catherine@example.com" \
  --title="TITLE"

When integrated in OpenClaw, construct the command with the appropriate flags based on user input. Use --dry-run during testing or when you only need to validate recipients without sending mail:

sender \
  --config="sender.json" \
  --recipients="test@example.com" \
  --dry-run

When to use

  • Send email: When the user asks to send an email, notification, or message (optionally with attachments) via SMTP.
  • Validate recipients: When the user wants to validate or preview recipients without sending (use --dry-run).
  • gomail specific: When the user mentions gomail, gomail sender, or wants to use the gomail CLI for mail delivery from OpenClaw.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

77.84%
按下载量换算2,281

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills