Custom SMTP Sender for Openclaw

A robust CLI tool for sending professional emails with Markdown support, attachments, and automated retry logic.

scccmsd
v1.0.0
Feb 6, 2026
1
2.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install custom-smtp-sender

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install custom-smtp-sender using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Custom SMTP Sender?

The Custom SMTP Sender is a sophisticated utility designed to streamline communication within automated workflows. By integrating this capability into your Openclaw Skills library, you can programmatically dispatch emails that support rich formatting through Markdown-to-HTML conversion. It is built for reliability, ensuring that mission-critical notifications or reports reach their destination even during transient network issues.

This skill prioritizes security and ease of use by utilizing a local configuration file for SMTP credentials. Whether you are sending simple text alerts or complex reports with multiple file attachments, this tool provides a standardized interface for all your messaging needs within the AI agent environment.

Custom SMTP Sender Use Cases

  • Sending automated build reports or system status updates to development teams.
  • Dispatching personalized newsletters or notifications formatted in Markdown.
  • Attaching and sending generated documents, such as PDFs or log files, via CLI.
  • Integrating email alerts into broader automated workflows managed by Openclaw Skills.

How Custom SMTP Sender Works

  1. The skill initializes by locating and reading the SMTP credentials from the smtp-config.json file.
  2. It processes the input body, optionally converting Markdown syntax into a rendered HTML format.
  3. The tool bundles any specified file attachments into the email payload.
  4. It establishes a secure connection to the SMTP server using the provided port and TLS settings.
  5. Upon a send request, it implements a 3-attempt retry logic to handle potential server timeouts or networking flickers.
  6. Finally, it records the outcome in a local log file for auditing and troubleshooting purposes.

Custom SMTP Sender Setup

To get started with this addition to your Openclaw Skills, follow these steps:

  1. Ensure you have a configuration file at /home/bb/.openclaw/smtp-config.json.
  2. Populate the file with your SMTP details:
{
  "server": "smtp.yourprovider.com",
  "port": 465,
  "username": "[email protected]",
  "password": "your-app-password",
  "emailFrom": "[email protected]",
  "useTLS": true
}
  1. Secure your credentials by setting the correct file permissions:
chmod 600 /home/bb/.openclaw/smtp-config.json

Custom SMTP Sender Data Schema & Taxonomy

The skill manages configuration through a structured JSON schema. Below is the breakdown of the required metadata:

Property Type Description
server String The hostname of your SMTP provider
port Number The port used for connection (usually 465 or 587)
username String Your SMTP authentication identity
password String The password or application-specific token
emailFrom String The address that will appear in the From field
useTLS Boolean Enables or disables Transport Layer Security

Custom SMTP Sender Advanced Features

  • Support for multiple file attachments in a single command execution.
  • Integrated Markdown engine to transform simple text into professional HTML layouts.
  • Resilient retry mechanism that automatically attempts redelivery up to three times.
  • Detailed execution logging for tracking every email sent through Openclaw Skills.
  • Lightweight CLI interface optimized for speed and script integration.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*