sendgrid
Send transactional and marketing emails via SendGrid API. Supports templates, attachments, and email analytics.
Why use this skill?
Integrate SendGrid with OpenClaw to automate transactional and marketing emails. Manage templates, send alerts, and analyze performance effortlessly.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/mrgoodb/sendgridWhat This Skill Does
The SendGrid skill for OpenClaw provides a robust interface for sending, managing, and tracking emails through the SendGrid API. This agentic tool allows your AI workflow to handle complex communication tasks autonomously, ranging from simple transactional notifications to sophisticated marketing campaigns using dynamic HTML templates. It streamlines the integration of email services into your automated pipelines, providing native support for attachments, personalized recipient lists, and analytical data retrieval.
Installation
To integrate this skill, ensure your OpenClaw environment is active and run the following command in your terminal:
clawhub install openclaw/skills/skills/mrgoodb/sendgrid
After installation, you must configure your environment to grant the agent access to your SendGrid account. Execute the following in your shell:
export SENDGRID_API_KEY="SG.your_api_key_here"
Ensure this key has the appropriate scopes (Mail Send) enabled in your SendGrid dashboard for security purposes.
Use Cases
This skill is ideal for automating customer engagement and system feedback loops. Common applications include:
- Transactional Emails: Trigger automated password resets, order confirmations, or account verifications.
- Marketing Automation: Send personalized newsletters or promotional blasts based on user data triggers.
- System Alerts: Receive instant updates on server status, security warnings, or workflow completion logs directly in your inbox.
- Report Distribution: Automatically generate and email summary reports or data analysis results based on cron jobs or specific trigger events.
Example Prompts
- "Send a welcome email to [email protected] using the template ID d-123456789 and pass the name 'Alice' into the dynamic template data."
- "Can you check my SendGrid email performance statistics starting from January 1st, 2024, and provide a summary of the delivery rates?"
- "List all my active dynamic templates currently stored in my SendGrid account so I can choose one for a new marketing campaign."
Tips & Limitations
- Template Management: Always test your dynamic templates within the SendGrid UI before invoking them via the skill to ensure variable names match the JSON payload exactly.
- Rate Limiting: Be mindful of SendGrid's API rate limits depending on your subscription tier; excessive polling for statistics may trigger 429 errors.
- Security: Never hardcode your API key in scripts. Always use environment variables as shown in the installation guide to prevent credential leakage.
- Permissions: Use restricted API keys if the agent only requires mail-send capabilities, rather than a full-access admin key.
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-mrgoodb-sendgrid": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
Related Skills
adobe
Access Adobe Creative Cloud APIs - Photoshop, Lightroom, PDF Services, and Firefly AI. Automate creative workflows.
xero
Manage Xero accounting - invoices, contacts, bank transactions, and reports via Xero API.
statuspage
Manage Statuspage incidents and components via API. Update status and communicate outages.
fly-machines
Deploy and manage Fly.io Machines - create, start, stop, delete, and monitor containerized apps. Use for deploying containers, managing app instances, and orchestrating multi-tenant workloads.
gamma
Create presentations, documents, social posts, and websites using Gamma's AI API. Use when asked to create slides, presentations, decks, documents, or web content via Gamma.