跳到正文
TakoAPI
返回技能列表

custom-smtp-sender

由 scccmsd 提供

Communication
1.4k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

A skill to send emails with support for markdown, HTML.

描述

该技能的功能

Sends emails via a pre-configured SMTP server with support for plain text, Markdown-to-HTML conversion, and file attachments. Uses a local JSON config file for credentials and retries failed sends up to 3 times with error logging.

Reuses a single SMTP config across all scripts instead of hardcoding credentials each time.

何时使用

  • Sending weekly reports with PDF attachments
  • Automating notification emails from scripts
  • Delivering formatted Markdown summaries to teammates
  • Triggering email alerts after long-running jobs finish
  • Sending files from the command line without a GUI client

示例工作流

输入

User asks: Send a weekly report email with an attached PDF to the team

智能体
  1. 1

    Reads SMTP credentials from /home/bb/.openclaw/smtp-config.json

  2. 2

    Converts Markdown body to HTML

  3. 3

    Attaches the specified PDF file

  4. 4

    Calls custom-smtp-sender with --to, --subject, --body, --html, and --attachments flags

  5. 5

    Retries up to 3 times on failure and logs the result

输出

Email delivered to recipient with formatted HTML body and PDF attachment

前置要求

  • SMTP account credentials (server, port, username, password)
  • smtp-config.json file created at /home/bb/.openclaw/smtp-config.json

安装

clawhub install scccmsd/custom-smtp-sender

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接