360 Secure SkillHub
360 安全技能中心

SendGrid Skills

SendGrid 平台集成技能,按子技能路由:send-email 通过 Mail Send API 或脚本发送事务性邮件,sendgrid-inbound 配置并解析 Inbound Parse 入站邮件。需要 SENDGRID_API_KEY 及 curl、jq、node,附发送、测试与配置校验脚本。

vince-winkintel
vince-winkintel
热度 52.14
最近更新 2026-07-15 00:55:27
分类:协作依赖:代码执行 / 读写文件 / 第三方 API应用场景:API 集成 / 自动化脚本 / 工作流 / 邮件起草

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add sendgrid-skills
Metadata
name
sendgrid
description
SendGrid email platform integration for sending and receiving emails. Routes to sub-skills for outbound transactional emails (send-email) and receiving via Inbound Parse Webhook (sendgrid-inbound). Use when user mentions SendGrid, transactional email, email API, inbound email parsing, or email webhooks. Triggers on SendGrid, send email, receive email, email webhook, Inbound Parse, transactional email.
requirements
{"env":["SENDGRID_API_KEY"],"env_optional":["SENDGRID_FROM"],"binaries":["curl","jq","node"],"binaries_optional":["dig","nslookup"]}
metadata
{"openclaw":{"requires":{"env":["SENDGRID_API_KEY"],"bins":["curl","jq","node"]},"notes":"Scripts operate on user-provided file paths (send-html-email.sh) and network endpoints (verify-inbound-setup.sh). Review scripts before executing. Use a SendGrid API key scoped to Mail Send only.\n"}}

SendGrid

Overview

SendGrid is an email platform for developers. This skill routes to feature-specific sub-skills.

Sub-Skills

Feature Skill Use When
Sending emails send-email Transactional emails, notifications, simple sends, dynamic templates
Receiving emails sendgrid-inbound Inbound Parse Webhook, MX record setup, parsing incoming email

Common Setup

API Key

Store in environment variable:

export SENDGRID_API_KEY=SG.xxxxxxxxx

SDK Installation

See send-email skill for installation instructions across supported languages.

When to use SendGrid vs other services

What's your use case?
├─ Transactional emails (receipts, notifications, password resets)
│  └─ SendGrid (send-email) ✅
├─ Marketing campaigns / bulk email
│  └─ Consider SendGrid Marketing Campaigns (outside this skill)
├─ Receiving emails programmatically
│  └─ SendGrid Inbound Parse (sendgrid-inbound) ✅
└─ Simple SMTP relay
   └─ SendGrid SMTP (outside this skill)

Resources