ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

custom-smtp-sender

A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/smtp-config.json`. Includes retry logic and logging.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/scccmsd/custom-smtp-sender
Or

Custom SMTP Sender

Custom skill to send emails with advanced options including HTML/Markdown conversion, attachments, and retry handling. Integrates existing configuration, ensuring secure and reliable operations.

Features

  • HTML/Markdown support: Compose emails using markdown converted to HTML.
  • Attachments: Include one or more files easily.
  • Retries: Attempts to resend in case of temporary failures.
  • Logging: Maintains a log of sent emails and errors for auditing.

Prerequisites

  • SMTP Configuration File: smtp-config.json located at /home/bb/.openclaw/

Example:

{
  "server": "smtp.exmail.qq.com",
  "port": 465,
  "username": "[email protected]",
  "password": "your-password",
  "emailFrom": "[email protected]",
  "useTLS": true
}

Ensure file permissions are secured (chmod 600).

Usage

Send a basic email:

custom-smtp-sender send --to "[email protected]" --subject "Hello" --body "你好"

Send an HTML email with an attachment:

custom-smtp-sender send \
  --to "[email protected]" \
  --subject "Weekly Report" \
  --body "**Important updates inside.** See attached." \
  --html \
  --attachments path/to/file.pdf

Error Handling

The tool retries up to 3 times on failure, logging each attempt. Networking or credential issues are reported in detail.

Future Expansion

  • Support for CC/BCC fields
  • Scheduling emails (cron integration)
  • Email templates

Set up your SMTP-service once, and you’re ready to integrate email into your workflow!

Metadata

Author@scccmsd
Stars1054
Views0
Updated2026-02-16
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-scccmsd-custom-smtp-sender": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.