← Back to Skills Marketplace
sgb999520-hsu

Email Sender (繁體中文版)

by sgb999520-hsu · GitHub ↗ · v1.2.0
cross-platform ⚠ suspicious
294
Downloads
0
Stars
5
Active Installs
3
Versions
Install in OpenClaw
/install email-sender-tw
Description
Email sending and template management tool for OpenClaw agents. Supports SMTP sending, email templates, and attachments.
README (SKILL.md)

Email Sender / 郵件發送工具

Email sending and template management tool for OpenClaw agents. Supports SMTP sending, email templates, and attachments (Traditional Chinese version).

郵件發送和模板管理工具。支持 SMTP 發送、郵件模板、附件管理(繁體中文版)。


Quick Reference / 快速參考

Situation / 情況 Action / 操作
Send simple email / 發送簡單郵件 python3 ../scripts/send_email.py (from scripts dir)
Use template / 使用模板郵件 python3 script manager.py send \x3Ctemplate> \x3Crecipient>
Configure SMTP / 配置 SMTP python3 config.py setup
List templates / 列出模板 python3 template_manager.py list
Test configuration / 測試配置 python3 config.py test
View help / 查看幫助 python3 \x3Cscript>.py --help

Quick Start / 快速開始

Installation / 安裝

Via ClawHub (Recommended) / 通過 ClawHub 安裝(推薦):

clawhub install email-sender-tw

OpenClaw will automatically load the skill in the next session. OpenClaw 會在下一個會話自動載入此技能。

First-Time Configuration / 首次配置

After installation, configure SMTP: 安裝後,配置 SMTP:

# Find and navigate to scripts directory / 查找並進入 scripts 目錄
cd ~/.openclaw/workspace/skills/email-sender-tw/scripts

# Or use workspace path / 或使用工作區路徑
cd $(openclaw config get workdir 2>/dev/null)/skills/email-sender-tw/scripts

# Configure SMTP / 配置 SMTP
python3 config.py setup

Send Test Email / 發送測試郵件

python3 template_manager.py send reminder [email protected] name="Your Name" message="Test message" date="2026-03-08" sender="Sender"

Features / 功能

Send Emails / 發送郵件:

  • Plain text and HTML emails / 純文字和 HTML 郵件
  • Attachments support / 支持附件
  • CC, BCC support / 支持抄送和密送
  • Batch sending / 批量發送

Template Management / 模板管理:

  • Save common email templates / 保存常用郵件模板
  • Variable substitution (e.g., {{name}}, {{date}}) / 變量替換
  • Pre-built templates: reminder, report, welcome / 預設模板:提醒、報告、歡迎信

Configuration Management / 配置管理:

  • SMTP server configuration / SMTP 服務器配置
  • Secure storage (macOS Keychain) / 安全存儲(macOS Keychain)
  • Multiple SMTP profiles / 支持多個 SMTP 配置

SMTP Configuration / SMTP 配置

Common SMTP Providers / 常用 SMTP 服務商

Provider / 服務商 SMTP Server Port Encryption / 加密 Notes / 備註
Gmail smtp.gmail.com 587 TLS Requires app password / 需要應用專屬密碼
Outlook smtp.office365.com 587 TLS
iCloud smtp.mail.me.com 587 TLS

Gmail Setup / Gmail 設置

Gmail requires an App Password: Gmail 需要「應用專屬密碼」:

  1. Go to: https://myaccount.google.com/apppasswords
  2. Create an app password / 創建應用專屬密碼
  3. Use it for SMTP login / 使用它進行 SMTP 登入

Test Configuration / 測試配置

python3 config.py test \x3Cconfig-name>

List All Configurations / 列出所有配置

python3 config.py list

Usage Examples / 使用範例

Send Simple Email / 發送簡單郵件

from send_email import send_email

send_email(
    to="[email protected]",
    subject="Test Email / 測試郵件",
    body="This is a test email. / 這是測試郵件。"
)

Use Template / 使用模板

from template_manager import send_templated_email

send_templated_email(
    template_name="reminder",
    to="[email protected]",
    variables={
        "name": "Your Name / 你的名字",
        "date": "2026-03-07",
        "message": "Test message / 測試訊息"
    }
)

Scripts / 腳本說明

scripts/send_email.py

Main email sending script / 主要郵件發送腳本:

  • send_email() - Send single email / 發送單封郵件
  • send_batch() - Batch sending / 批量發送

scripts/template_manager.py

Template management script / 模板管理腳本:

  • send_templated_email() - Send with template / 使用模板發送
  • list_templates() - List all templates / 列出所有模板
  • create_template() - Create new template / 創建新模板

scripts/config.py

Configuration management script / 配置管理腳本:

  • setup - Configure SMTP / 配置 SMTP
  • test - Test configuration / 測試配置
  • list - List all configs / 列出所有配置
  • remove - Delete config / 刪除配置

Path Handling / 路徑處理

This skill uses dynamic paths, suitable for any user: 這個 skill 使用動態路徑,適用於任何用戶:

import os

CONFIG_DIR = os.path.dirname(os.path.abspath(__file__))
CONFIG_FILE = os.path.join(CONFIG_DIR, "smtp_config.json")

This ensures the skill works correctly regardless of where it's installed or which user's machine it's on. 這確保無論 skill 安裝在哪裡,或在哪個用戶的電腦上,都能正常工作。


Security / 安全性

Passwords not exposed in config files / 密碼不暴露在配置文件中Secure storage via macOS Keychain / 使用 macOS Keychain 安全存儲No sensitive info in logs / 不在日誌中記錄敏感信息 ⚠️ Never share files with Keychain keys / 不要共享包含 Keychain 金鑰的文件 ⚠️ Rotate email passwords regularly / 定期更換郵件帳號密碼


Troubleshooting / 故障排除

Gmail Login Failed / Gmail 登入失敗

Solution / 解決方案:Enable app password / 啟用「應用專屬密碼」 https://myaccount.google.com/apppasswords

SMTP Connection Failed / SMTP 連線失敗

Check firewall and SMTP port settings / 檢查防火牆和 SMTP 端口

Attachment Failed / 附件發送失敗

Verify file path and size limit (usually 25MB) / 確認檔案路徑和大小限制(通常 25MB)

Can't Find Skill Directory / 找不到 Skill 目錄

# Find skill location / 查找 skill 位置
find ~/.openclaw /opt/homebrew/lib/node_modules/openclaw -name "email-sender-tw" -type d

# Or use workspace / 或使用工作區
echo $(openclaw config get workdir)/skills/email-sender-tw/scripts

Version / 版本: 1.2.0 Language / 語言: 繁體中文 (Traditional Chinese) Platform / 平台: macOS (Keychain required) Compatible with / 兼容: OpenClaw 2026.3.2+

Usage Guidance
This skill appears to implement the advertised email/template functionality, but check the following before installing or running it: - OS compatibility: the scripts use macOS Keychain via the 'security' command. If you are not on macOS, the Keychain calls will fail. The registry metadata does not declare this requirement — only README/SKILL.md mention Keychain. Install only if you plan to run on macOS or are comfortable modifying the code to use another secret store. - Keychain access: the tool stores/retrieves SMTP passwords from your macOS Keychain. Review config.py/send_email.py to confirm it only accesses keys tied to this skill's service name (KEYCHAIN_SERVICE = 'openclaw-email-sender'). Be prepared to manage Keychain entries and rotate passwords. - Default config file: smtp_config.json in the package contains a pre-filled account (email [email protected]). Remove or replace this example entry before running tests or automatic send flows to avoid confusion. The file contains no password, but test flows may reference that email. - Commands & docs: SKILL.md contains typos (e.g., 'script manager.py') — follow the actual filenames (template_manager.py, config.py, send_email.py) when running commands. Verify the paths used (the code writes/reads smtp_config.json from the skill's scripts directory). - Templates & sensitive placeholders: templates include placeholders like {{password}}. Be careful not to populate variables with secrets you don't intend to email. Review template content to avoid accidentally emailing credentials. - Safety practice: inspect the code locally before running, run tests in an isolated environment, and avoid granting extra system-wide permissions. If you plan to use a non-macOS machine, adapt Keychain calls or use a different credential storage mechanism.
Capability Analysis
Type: OpenClaw Skill Name: email-sender-tw Version: 1.2.0 The skill is a legitimate email sending and template management tool. It uses the macOS Keychain (`security` command) to safely store and retrieve SMTP credentials, which is a security best practice compared to plain-text storage. The code in `scripts/config.py`, `scripts/send_email.py`, and `scripts/template_manager.py` is well-structured, follows the stated purpose, and uses safe `subprocess` calls with argument lists to prevent shell injection. While it includes a default email address in `scripts/smtp_config.json`, there is no evidence of intentional data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
The name/description (email sender and template manager) match the included Python scripts which manage SMTP configs, templates, and sending. However the scripts rely on the macOS 'security' Keychain tool to store/retrieve passwords while the registry metadata does not restrict OS; README/SKILL.md mention macOS Keychain only in some places. Also an example smtp_config.json contains a pre-filled 'gmail' account (email address included) which is unexpected for a generic skill.
Instruction Scope
SKILL.md instructs the agent to run the included Python scripts and to read/write files under the skill's scripts/ and assets/ directories (smtp_config.json, templates). The code accesses only local files and invokes system 'security' and smtplib to talk to configured SMTP servers — actions that are consistent with an email tool. SKILL.md has several typos/mistyped commands (e.g., 'script manager.py') which could mislead users, and it suggests 'find' commands that enumerate ~/.openclaw and some system paths (harmless but wider file-system probing to locate the skill).
Install Mechanism
No install specification (instruction-only) — lowest friction and no remote downloads. The package contains source files bundled with the skill; nothing is fetched from external URLs at install time.
Credentials
The skill requests no environment variables, which is consistent, but it depends on the macOS 'security' tool and macOS Keychain for password storage—this dependency is not declared in the metadata (OS restriction is 'none'). The included smtp_config.json has a populated account with a real-looking email address; while it does not include passwords, shipping a default account could cause confusion or accidental actions. No unrelated credentials or external secrets are requested.
Persistence & Privilege
The skill stores configuration and templates in its own scripts/ and assets/ directories (smtp_config.json and template files). It does not declare 'always: true' and does not modify other skills or global agent settings. This level of persistence is normal for a utility that needs local configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install email-sender-tw
  3. After installation, invoke the skill by name or use /email-sender-tw
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
文檔改進:簡化安裝流程(一鍵安裝),增加中英文並存說明,優化快速參考表格
v1.1.0
移除硬編碼的用戶路徑,使用相對路徑和通用範例,增加路徑查找說明
v1.0.0
- 首次發布 email-sender 技能:一站式郵件發送與模板管理工具 - 支援純文字/HTML 郵件、批量發送、附件 - 模板功能含變量替換,可保存與管理多種郵件格式 - SMTP 設定支援多配置,密碼安全存儲於 macOS Keychain - 附完整腳本說明與常用 SMTP 配置參考 - 提供詳細快速開始指南與多樣使用範例
Metadata
Slug email-sender-tw
Version 1.2.0
License
All-time Installs 5
Active Installs 5
Total Versions 3
Frequently Asked Questions

What is Email Sender (繁體中文版)?

Email sending and template management tool for OpenClaw agents. Supports SMTP sending, email templates, and attachments. It is an AI Agent Skill for Claude Code / OpenClaw, with 294 downloads so far.

How do I install Email Sender (繁體中文版)?

Run "/install email-sender-tw" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Email Sender (繁體中文版) free?

Yes, Email Sender (繁體中文版) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Email Sender (繁體中文版) support?

Email Sender (繁體中文版) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Email Sender (繁體中文版)?

It is built and maintained by sgb999520-hsu (@sgb999520-hsu); the current version is v1.2.0.

💬 Comments