Skip to main content

sendgrid

Send emails and manage contacts via the SendGrid API.

Datos de origen

Repositorio
ThinkfleetAI/thinkfleet-engine
Última actividad en el origen
1 de febrero de 2026 a las 16:21
Idioma detectado de SKILL.md
inglés
Estrellas
0
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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.
Ver en GitHub