🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Custom Smtp Sender

by @scccmsd

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.

Versionv1.0.0
Installs6
πŸ’‘ Examples

Send a basic email:

custom-smtp-sender send --to "recipient@example.com" --subject "Hello" --body "δ½ ε₯½"

Send an HTML email with an attachment:

custom-smtp-sender send \
  --to "recipient@example.com" \
  --subject "Weekly Report" \
  --body "Important updates inside. See attached." \
  --html \
  --attachments path/to/file.pdf

βš™οΈ Configuration

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

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

    Ensure file permissions are secured (chmod 600).

    View on ClawHub
    TERMINAL
    clawhub install custom-smtp-sender

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’