send-email
Send emails via SMTP. Configure in ~/.openclaw/openclaw.json under skills.entries.send-email.env.
Why use this skill?
Learn how to integrate SMTP email capabilities into OpenClaw agents. Securely send reports, alerts, and attachments with this simple, environment-variable configured email skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/fontstep/send-emailWhat This Skill Does
The send-email skill provides OpenClaw agents with the capability to dispatch emails directly from the execution environment via SMTP. Designed for seamless automation, this skill abstracts the complexities of mail server connectivity by utilizing environment variables injected by OpenClaw at runtime. This approach ensures that sensitive credentials, such as your SMTP password or authorization codes, are never written to disk within your project workspace or exposed through agent file-reading tools. Whether you need to send automated reports, notifications, or document attachments, this skill streamlines communication by integrating directly into your agent's task pipeline.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/fontstep/send-email
Once installed, you must configure your SMTP credentials in your ~/.openclaw/openclaw.json file. Ensure you populate the skills.entries.send-email.env block with your specific EMAIL_SMTP_SERVER, EMAIL_SMTP_PORT, EMAIL_SENDER, and EMAIL_SMTP_PASSWORD. Always use an application-specific password or authorization code rather than your primary login password for enhanced security.
Use Cases
This skill is highly effective for automating routine correspondence. Common use cases include: sending generated data reports to project stakeholders, triggering email alerts when a long-running process completes, or distributing files generated by other skills (such as PDF invoices or exported logs) directly to clients. It is ideal for CI/CD pipelines, automated status reporting, and personal workflow management.
Example Prompts
- "Please send the latest project summary report to [email protected] with the subject 'Weekly Update' and attach the file at ./reports/weekly_summary.pdf."
- "Notify the team at [email protected] that the database backup job has finished successfully; include a brief message confirming the status."
- "Send a follow-up email to [email protected] regarding our last meeting; use the body text provided in the draft file I created earlier."
Tips & Limitations
Security is paramount; never attempt to read your config file using OpenClaw's file tools, as this violates the secure injection architecture. If you experience authentication failures, verify that you are using an authorization code or app-specific password (especially for 163, QQ, and Gmail). For connection issues, confirm your ISP isn't blocking standard SMTP ports like 465 or 587. This skill is strictly for outgoing mail and does not support receiving or parsing incoming emails.
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-fontstep-send-email": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution