Skip to main content

sendgrid

Send emails and manage contacts via the SendGrid API.

Informações da origem

Repositório
ThinkfleetAI/thinkfleet-engine
Última atividade na origem
1 de fevereiro de 2026 às 16:21
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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 no GitHub