twilio-sendgrid-account-setup

Configure SendGrid API keys, domain authentication, and SDK installation for email delivery.

5.3k|765|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/openai/plugins --skill twilio-sendgrid-account-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twilio-sendgrid-account-setup
Source: https://github.com/openai/plugins/tree/main/plugins/twilio-developer-kit/skills/twilio-sendgrid-account-setup
Command: npx skills add https://github.com/openai/plugins --skill twilio-sendgrid-account-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Setting up SendGrid for email delivery involves confusing credential systems, DNS configuration, and SDK choices. This Skill guides you through the entire account setup so you avoid common mistakes like using Twilio credentials for SendGrid or deploying with a Full Access API key.

Core Features & Use Cases

  • API Key Management: Create SendGrid API keys (SG.-prefix) with the right scopes, from Full Access for development to Restricted Access for production.
  • Domain Authentication: Configure DKIM/SPF via 3 CNAME records, plus DMARC guidance, so your production emails reach inboxes instead of spam.
  • SDK Installation: Get the correct SendGrid SDK for Python, Node.js, Java, C#, Ruby, PHP, or Go, or use SMTP relay settings for frameworks like Django and Rails.
  • Use Case: You are adding transactional email to a web app. Use this Skill to create a restricted Mail Send API key, authenticate your sending domain, and install the Node.js @sendgrid/mail package before writing any send code.

Quick Start

Ask the AI to walk you through creating a SendGrid API key and authenticating your sending domain for production email delivery.

Frequently Asked Questions about twilio-sendgrid-account-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a SendGrid API key for sending email?

Create a key in SendGrid Console under Settings > API Keys, then store it in the SENDGRID_API_KEY environment variable. Use a Restricted Access key scoped to Mail Send for production instead of Full Access.

How do I authenticate a domain in SendGrid for production email?

Go to Sender Authentication in the SendGrid Console and create 3 CNAME records: two DKIM records (s1 and s2._domainkey) and one return-path record. Verify the setup via GET /v3/whitelabel/domains/{id}/validate.

Can I use Twilio credentials with the SendGrid API?

No, SendGrid uses a completely separate authentication system with SG.-prefix API keys. Twilio Account SID and Auth Token do not work with api.sendgrid.com, and no Twilio MCP tools wrap SendGrid.

What SMTP settings does SendGrid use for frameworks like Django or Rails?

Use server smtp.sendgrid.net on port 587 (TLS) or 465 (SSL). The username is the literal string "apikey" and the password is your SendGrid API key starting with SG.

Why am I getting a 403 Forbidden error from the SendGrid API?

A 403 usually means your API key lacks the required scope. A Mail Send-only restricted key cannot read suppressions, manage templates, or access stats, so check the key permissions in the SendGrid Console.

When is Single Sender Verification not enough for SendGrid?

Single Sender Verification is for testing only and requires re-verification whenever the sender address changes. Production sending requires Domain Authentication with DNS access to create the required CNAME records.