Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

custom-smtp-sender

bởi scccmsd

Communication
1.4kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

Email delivered to recipient with formatted HTML body and PDF attachment

Yêu cầu

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

Cài đặt

clawhub install scccmsd/custom-smtp-sender

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết