msmtp-send for Openclaw

A streamlined email dispatch skill that enables AI agents to send plain-text notifications using local msmtp configurations.

izombix
v1.0.0
Mar 12, 2026
0
934
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install msmtp-send

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 msmtp-send 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 msmtp-send?

The msmtp-send skill is a high-performance, send-only utility designed for developers using Openclaw Skills. It allows an AI agent to communicate via plain-text email by leveraging the system's local msmtp installation. This approach ensures that the agent can send alerts and notifications without ever having access to your inbox, providing a secure bridge between your AI workflows and your email communication channels. By utilizing existing system configurations, it maintains a small footprint while offering robust delivery capabilities.

msmtp-send Use Cases

  • Dispatching automated status reports from long-running Openclaw Skills tasks.
  • Sending quick developer alerts when a specific coding milestone is reached.
  • Integrating real-time notifications into automated multi-agent workflows.
  • Testing SMTP connectivity and local mail configurations through an AI interface.

How msmtp-send Works

  1. The AI agent identifies a requirement to send a plain-text notification and invokes the msmtp-send command.
  2. The skill directs the execution to the local exec tool, which targets a pre-defined send.sh script.
  3. The script accesses the local user's msmtp configuration (typically located at ~/.msmtprc) to handle authentication.
  4. The message is transmitted via the specified SMTP server without the agent requiring read access to the account.
  5. This Openclaw Skills workflow concludes with a success or failure status returned to the agent.

msmtp-send Setup

To enable this skill, you must have the msmtp binary installed and configured on your local machine. Openclaw Skills relies on your existing authentication to maintain security.

# Install the msmtp binary
sudo apt-get update && sudo apt-get install msmtp

# Configure your credentials in ~/.msmtprc
# Example: Gmail App Password setup
# Ensure permissions are secure: chmod 600 ~/.msmtprc

# Make the send script executable
chmod +x ./send.sh

msmtp-send Data Schema & Taxonomy

The msmtp-send skill uses a transparent data structure to manage outgoing messages within the Openclaw Skills framework:

Property Description
Recipient The target email address for the outgoing message.
Message Body The plain-text content to be sent by the agent.
Local Config Uses ~/.msmtprc for SMTP host, port, and credentials.
Tool Dispatch Communicates via the 'exec' tool for shell integration.

msmtp-send Advanced Features

  • Outbound-only security: Explicitly designed to prevent AI agents from reading or fetching emails.
  • Zero-credential storage: Inherits security from your system-level ~/.msmtprc file rather than storing keys in the skill.
  • Seamless automation: Easily chains with other Openclaw Skills to create sophisticated notification pipelines.
  • Lightweight footprint: No heavy SDKs required, relying entirely on native system binaries for efficiency.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*