用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Demerzels-lab/elsamultiskillagent --skill send-email命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | send-email |
| description | Use when sending simple transactional emails or notifications via the SendGrid v3 Mail Send API. |
SendGrid provides a single Mail Send endpoint for sending email via the v3 API. The Node SDK (@sendgrid/mail) is the recommended integration for JavaScript/TypeScript.
Use this skill when:
from, to, subject, and text or html| Parameter | Type | Description |
|---|---|---|
from | string | Sender email (must be verified) |
to | string or string[] | Recipient email(s) |
subject | string | Email subject |
text or html | string | Email body content |
| Parameter | Type | Description |
|---|---|---|
cc | string or string[] | CC recipients |
bcc | string or string[] | BCC recipients |
reply_to | string | Reply-to address |
attachments | array | Base64-encoded attachments |
template_id | string | Dynamic template ID (if using templates) |
dynamic_template_data | object | Template data (if using templates) |
import sgMail from '@sendgrid/mail';
sgMail.setApiKey(process.env.SENDGRID_API_KEY!);
await sgMail.send({
from: 'Support <support@winkintel.com>',
to: 'vince@winkintel.com',
subject: 'Hello from SendGrid',
text: 'This is a test email.',
html: '<p>This is a test email.</p>',
});
If using SendGrid Dynamic Templates, supply template_id and dynamic_template_data instead of html/text.
await sgMail.send({
from: 'Support <support@winkintel.com>',
to: 'vince@winkintel.com',
templateId: 'd-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
dynamicTemplateData: { first_name: 'Vince' },
});
text and html when possible (deliverability + accessibility).For deeper details, see: