email-send
Send a quick email via SMTP using `msmtp` without opening a full mail client.
Why use this skill?
Learn how to use the email-send skill for OpenClaw to reliably send emails via SMTP directly from your terminal. Lightweight and perfect for automated alerts.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/xejrax/email-sendWhat This Skill Does
The email-send skill provides a lightweight, command-line interface for sending emails directly from your terminal or via the OpenClaw agent. By leveraging msmtp, this skill bypasses the need for heavy, resource-intensive mail clients like Himalaya or browser-based webmail. It is designed for automation, allowing you to trigger notifications, send status reports, or dispatch quick updates programmatically. The skill integrates directly with your system's SMTP configuration, provided you have set the necessary environment variables (SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS), making it a secure and efficient way to handle messaging tasks directly from the command line.
Installation
To begin using this skill, you must ensure that msmtp is installed on your system. On Fedora or RHEL-based distributions, run sudo dnf install msmtp. Once the binary is available, you can add the skill to your OpenClaw environment by executing the command: clawhub install openclaw/skills/skills/xejrax/email-send. Ensure your environment variables for SMTP are correctly configured in your shell profile to prevent authentication errors during the sending process.
Use Cases
This skill is ideal for DevOps engineers needing to send automated deployment alerts, developers requiring a simple way to pipe output logs to an email address, or power users who want to send files quickly via email without leaving their terminal. It is especially useful in scripts where you need to report errors or task completion status to a remote stakeholder.
Example Prompts
- "Send an email to [email protected] with the subject 'System Alert' and the message 'The disk usage on the main server has exceeded 90%.'"
- "Email the file log-report.txt to [email protected] with the subject 'Daily Progress Report'."
- "Send a quick email to my colleague at [email protected] saying 'The build is complete and ready for testing.'"
Tips & Limitations
To use this skill effectively, always ensure your SMTP credentials are encrypted or stored securely in your environment variables rather than hard-coded into your scripts. Note that this skill does not provide an interactive inbox interface, so you cannot read or reply to emails; it is strictly an outbound tool. For large file attachments, ensure your SMTP provider's file size limits are respected, as msmtp will fail if the recipient server rejects the incoming message size.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-xejrax-email-send": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read
Related Skills
system-info
Quick system diagnostics: CPU, memory, disk, uptime
calendar
Manage Google Calendar events using `gcalcli`. Create, list, and delete calendar events from the CLI.
log-tail
Stream recent logs from systemd journal
wifi-qr
Generate QR code for Wi-Fi credentials
ping-beads
Verify the bead daemon is alive and responsive