Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Sends emails via Gmail SMTP using a Google App Password. Runs as a CLI command with no external Python dependencies. Useful for alerts, scheduled reports, and automated notifications.
Uses Python's standard library only, so there are no packages to install or manage.
When to use it
- Sending server CPU/memory alerts to an admin
- Scheduling morning status report emails via cron
- Notifying a team when a build or script completes
- Triggering email alerts from a monitoring script
- Sending automated daily summaries from a data pipeline
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: send a server alert email to admin@example.com saying CPU is at 90%
- 1Reads GMAIL_USER and GMAIL_APP_PASSWORD from environment variables
- 2Constructs the SMTP connection to smtp.gmail.com on port 587
- 3Authenticates using the App Password
- 4Sends the email with the specified recipient, subject, and body
Email delivered to admin@example.com with subject 'Server Alert' and body 'CPU usage at 90%'
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.