Agent skill
sendgrid
Send emails and manage contacts via the SendGrid API.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sendgrid-thinkfleetai-thinkfleet-engine
Metadata
Additional technical details for this skill
- thinkfleetbot
-
{ "emoji": "\ud83d\udce4", "requires": { "env": [ "SENDGRID_API_KEY" ], "bins": [ "curl", "jq" ] } }
SKILL.md
SendGrid
Send transactional and marketing emails.
Environment Variables
SENDGRID_API_KEY- API key
Send email
curl -s -X POST -H "Authorization: Bearer $SENDGRID_API_KEY" \
-H "Content-Type: application/json" \
"https://api.sendgrid.com/v3/mail/send" \
-d '{"personalizations":[{"to":[{"email":"[email protected]"}]}],"from":{"email":"[email protected]"},"subject":"Hello","content":[{"type":"text/plain","value":"Message body"}]}'
List contacts
curl -s -H "Authorization: Bearer $SENDGRID_API_KEY" \
"https://api.sendgrid.com/v3/marketing/contacts?page_size=10" | jq '.result[] | {id, email, first_name, last_name}'
Get email stats
curl -s -H "Authorization: Bearer $SENDGRID_API_KEY" \
"https://api.sendgrid.com/v3/stats?start_date=2024-01-01&limit=7" | jq '.[] | {date, stats: .stats[0].metrics | {requests, delivered, opens, clicks}}'
Notes
- Always confirm before sending emails.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?