소스 정보
- 저장소
- ThinkfleetAI/thinkfleet-engine
- 최근 소스 활동
- 2026년 2월 1일 16:21
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- sendgrid
- description
- Send emails and manage contacts via the SendGrid API.
- metadata
- {"thinkfleetbot":{"emoji":"📤","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# SendGrid
Send transactional and marketing emails.
## Environment Variables
- `SENDGRID_API_KEY` - API key
## Send email
```bash
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":"recipient@example.com"}]}],"from":{"email":"sender@example.com"},"subject":"Hello","content":[{"type":"text/plain","value":"Message body"}]}'
```
## List contacts
```bash
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
```bash
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.
GitHub에서 보기