Email Sender
Skill by elodyzen
Why use this skill?
Automate your emails with the OpenClaw Email Sender skill. Send reports, logs, and files directly via SMTP using this efficient agent skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/elodyzen/email-senderWhat This Skill Does
The Email Sender skill by elodyzen provides OpenClaw with the capability to transmit electronic correspondence directly from your local environment. By leveraging SMTP protocols, this skill bridges the gap between your automated workflows and external communication platforms. It is designed specifically to interface with Gmail accounts via App Passwords, ensuring that you can maintain security while automating outgoing messages. Whether you need to send automated status reports, share log files generated by other agent tasks, or simply fire off a quick notification, this skill streamlines the process into a single function call.
Installation
To integrate this functionality into your OpenClaw environment, ensure you have the necessary credentials (an App Password generated via your Google Account settings) ready. Execute the following command in your terminal within the OpenClaw directory:
clawhub install openclaw/skills/skills/elodyzen/email-sender
Once installed, configure your SMTP settings to match your specific account requirements. Refer to the source repository for detailed environment variable configuration instructions.
Use Cases
This skill is highly versatile for users who require automated documentation or alert systems. Common use cases include:
- Automated Reporting: Sending periodic data exports or performance logs generated during your workday.
- Error Notifications: Triggering an email to a support team when a script or automated task encounters a failure.
- Content Distribution: Quickly mailing processed files, such as PDFs or text-based logs, to stakeholders without needing to manually open an email client.
- System Alerts: Sending a heads-up message whenever an OpenClaw sequence finishes a long-running process.
Example Prompts
- "Send an email to [email protected] with the subject 'Daily Performance Report' and attach the log file located at /home/user/logs/daily.txt."
- "Could you email our team at [email protected] saying that the migration script finished running? The body should say 'The database migration completed successfully.'"
- "Please send a summary of the latest sales report to [email protected] with the text 'Attached is the summary report for Q3' and include the file /exports/sales_q3.pdf."
Tips & Limitations
- Security: Always use an App Password rather than your primary account password. Never hardcode credentials in your prompts.
- File Paths: Ensure that
attachment_pathprovides an absolute path to the file; relative paths may lead to failure depending on the working directory of the agent. - Size Constraints: Be mindful that standard SMTP servers often have limitations on attachment sizes, typically ranging from 10MB to 25MB.
- Content Type: This skill currently supports plain-text bodies. HTML formatting may not be rendered correctly, so keep your content structured accordingly.
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-elodyzen-email-sender": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api