{
 "kind": "api",
 "slug": "sendgrid",
 "path": "apis/sendgrid/",
 "name": "Twilio SendGrid",
 "logo": "https://agentgid.com/media/avatars/sendgrid.png",
 "maker": "Twilio",
 "density": "full",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Email sending",
   "apis/email/"
  ]
 ],
 "lead": "Send receipts, alerts and newsletters by email.",
 "chips": [
  {
   "label": "Email sending",
   "path": "apis/email/"
  },
  {
   "label": "Partially Degraded Service · live status",
   "live": false
  }
 ],
 "primary": {
  "label": "Copy prompt for your agent",
  "copy": "Add SendGrid email to my app: on the server, read SENDGRID_API_KEY from .env, send from my authenticated domain with @sendgrid/mail 8.1.6, treat 202 as success, and log error.response.body when sending fails."
 },
 "links": [
  {
   "label": "Website",
   "href": "https://sendgrid.com"
  },
  {
   "label": "Pricing",
   "href": "https://www.twilio.com/en-us/products/email-api/pricing"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/sendgrid/sendgrid-nodejs"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free credits",
   "status": "cond",
   "sub": "One-time or needs a card",
   "quote": "free trial lets you send 100 emails/day for 60 days essentials plan starts at $19.95 per month",
   "note": "Free tier: Free trial: 100 emails/day for 60 days. As reported on the official pricing page, checked Nov 1, 2026.",
   "src": "https://www.twilio.com/en-us/products/email-api/pricing"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "With conditions",
   "status": "cond",
   "sub": null,
   "quote": "you will not transfer, resell, or make available to third parties our services, except to your end users as part of the software applications you develop or products and services you offer",
   "note": "Use it to send email for your own app or product; do not resell the service itself, and follow consent and opt-out rules. Data: Not for general model training in the pages we read; Twilio's data protection addendum allows model training for its own anti-abuse tools.",
   "src": "https://www.twilio.com/en-us/legal/tos"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "API key, server only",
   "status": "info",
   "sub": "Env var SENDGRID_API_KEY",
   "quote": "To use an API key, include an Authorization header with the value",
   "note": "API key as a Bearer token: Authorization: Bearer <api key>. Basic authentication with username and password is no longer accepted.",
   "src": "https://www.twilio.com/docs/sendgrid/api-reference/how-to-use-the-sendgrid-v3-api/authentication.md"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community MCP server",
   "status": "cond",
   "sub": "SDK",
   "quote": "Twilio SendGrid docs and support articles",
   "note": "Read-only documentation search; it does not send email. No SendGrid MCP server that sends mail was found on the official pages. Our agent check: 3 of 6 (Nov 13, 2026).",
   "src": "https://www.twilio.com/docs/ai/mcp.md"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Nov 1, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Twilio SendGrid does",
   "parts": [
    {
     "t": "prose",
     "text": "Twilio SendGrid is a paid online service that sends email for your app, such as sign-up confirmations, receipts and password resets, and also newsletters. Your server hands it the message and SendGrid delivers it and reports opens and bounces. It can also pass incoming emails to your app."
    },
    {
     "t": "list",
     "items": [
      "Twilio SendGrid is one of 21 APIs in the Email sending category on AgentGid.",
      "Its cheapest paid plan ($19.95 a month) is the 14th cheapest of the 18 here with a monthly plan.",
      "It is one of 19 that can be started for free.",
      "8 of them ship an official MCP server; Twilio SendGrid does not.",
      "Its official SDK is the 3rd most downloaded in the category (12.7M a week)."
     ],
     "muted": true
    },
    {
     "t": "h3",
     "text": "What people build with it"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Sign-up and receipt emails",
       "text": "Send the welcome email, the order receipt or the password reset link from your app the moment the user acts.",
       "idea": false
      },
      {
       "title": "Branded emails from a template",
       "text": "Design the email once in SendGrid's template editor, then fill in the name, order number or link for each person.",
       "idea": false
      },
      {
       "title": "Reminder emails at a set time",
       "text": "Schedule a reminder or a digest for tomorrow morning when the user acts today, and cancel it if plans change.",
       "idea": false
      },
      {
       "title": "Know which emails bounced or were opened",
       "text": "Get a notice in your app when an email is delivered, opened, bounced or marked as spam, and stop writing to bad addresses.",
       "idea": false
      },
      {
       "title": "Turn incoming emails into tickets",
       "text": "Let customers email support@yourdomain and have SendGrid pass each message and its attachments to your app as data.",
       "idea": false
      },
      {
       "title": "Monthly newsletter to subscribers",
       "text": "Send one newsletter to your whole subscriber list with an unsubscribe link, using the same account as your app emails.",
       "idea": true
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Twilio SendGrid popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "12.2M",
       "l": "SDK downloads a week",
       "d": "+18.3% on the 4-week average",
       "up": true
      },
      {
       "n": "61",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "3,049",
       "l": "GitHub stars, sendgrid/sendgrid-nodejs"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "Free trial: 100 emails/day for 60 days"
      },
      {
       "l": "Cheapest plan",
       "v": "$19.95 a month"
      },
      {
       "l": "Usage price",
       "v": "Essentials from $19.95/month; Pro from $89.95/month; Premier custom"
      },
      {
       "l": "Plans",
       "v": "No permanent free plan any more - free is a 60-day trial. Exact price depends on monthly volume (page says Essentials fits 50,000-100,000/month). Overage rates not on the pricing page. sendgrid.com/pricing redirects to twilio.com. Community MCP servers exist (e.g. npm sendgrid-mcp)."
      }
     ]
    },
    {
     "t": "h3",
     "text": "What one action costs"
    },
    {
     "t": "table",
     "head": [
      "Action",
      "Price"
     ],
     "num": true,
     "rows": [
      [
       "A month on Essentials (the pricing page says it fits 50,000 to 100,000 emails; exact price depends on volume)",
       "$19.95"
      ],
      [
       "A month on Pro (adds a dedicated IP address and subusers)",
       "$89.95"
      ]
     ]
    },
    {
     "t": "more",
     "items": [
      {
       "title": "Price history",
       "items": [
        "A year of the pricing page in the Internet Archive (13 months): the lowest monthly figure went from $19.95 (2025-10) to $19.95 (2026-10)."
       ]
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Nov 1, 2026. Prices change: confirm before you buy.",
     "link": "twilio.com/en-us/products/email-api/pricing",
     "href": "https://www.twilio.com/en-us/products/email-api/pricing"
    }
   ]
  },
  {
   "id": "limits",
   "nav": null,
   "spy_as": "pricing",
   "h2": "Limits",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free trial",
       "v": "100 emails a day for 60 days, then an upgrade is needed to keep sending",
       "src": "https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs.md"
      },
      {
       "l": "All plans",
       "v": "At most 1,000 recipients (to, cc and bcc together) per send request",
       "src": "https://www.twilio.com/docs/sendgrid/api-reference/mail-send.md"
      },
      {
       "l": "All plans",
       "v": "Email with attachments under 30 MB (the getting-started page says 20 MB)",
       "src": "https://www.twilio.com/docs/sendgrid/api-reference/mail-send.md"
      },
      {
       "l": "All plans",
       "v": "Each endpoint allows a fixed number of requests per period, shown in X-RateLimit headers",
       "src": "https://www.twilio.com/docs/sendgrid/api-reference/how-to-use-the-sendgrid-v3-api/rate-limits.md"
      },
      {
       "l": "All accounts",
       "v": "At most 100 API keys per account",
       "src": "https://www.twilio.com/docs/sendgrid/ui/account-and-settings/api-keys.md"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official docs.",
     "link": "twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs.md",
     "href": "https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs.md"
    }
   ]
  },
  {
   "id": "status",
   "nav": "Status",
   "h2": "Status and incidents",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Right now",
       "v": "Partially Degraded Service",
       "status": "cond",
       "sub": "Partially Degraded Service"
      },
      {
       "l": "Last 30 days",
       "v": "49 incidents, 0 of them major"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official status page, checked Nov 23, 2026.",
     "link": "status.sendgrid.com",
     "href": "https://status.sendgrid.com"
    }
   ]
  },
  {
   "id": "access",
   "nav": "Access and terms",
   "h2": "Key and access",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "How it signs in",
       "v": "API key as a Bearer token: Authorization: Bearer <api key>. Basic authentication with username and password is no longer accepted."
      },
      {
       "l": "Environment variable",
       "v": "SENDGRID_API_KEY",
       "code": true
      },
      {
       "l": "Safe in browser code",
       "v": "No, keep it on your server",
       "status": "no"
      },
      {
       "l": "Card at sign-up",
       "v": "No"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Steps only a person can do"
    },
    {
     "t": "list",
     "items": [
      "Sign up for SendGrid, turn on two-factor login and create a Restricted API key with Mail Send access. Put it in .env as SENDGRID_API_KEY (kept out of git) and read it on the server.",
      "Add the DNS records for domain authentication at your domain registrar. Send from an address on that domain, for example hello@yourdomain.com.",
      "Choose a paid plan before the 60-day trial ends. No code change; the same key keeps working.",
      "Make sure people agreed to get your marketing emails and can unsubscribe. Add an unsubscribe group (asm) to marketing sends and honour unsubscribes."
     ]
    }
   ]
  },
  {
   "id": "terms",
   "nav": null,
   "spy_as": "access",
   "h2": "Commercial use and your data",
   "parts": [
    {
     "t": "prose",
     "text": "SendGrid is a paid online service, with a free 60-day trial; its client packages are open source under MIT. Use it inside your own product, but do not resell it. Follow consent and unsubscribe rules."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid app",
       "v": "With conditions",
       "status": "cond",
       "sub": "Use it to send email for your own app or product; do not resell the service itself, and follow consent and opt-out rules.",
       "quote": "you will not transfer, resell, or make available to third parties our services, except to your end users as part of the software applications you develop or products and services you offer",
       "src": "https://www.twilio.com/en-us/legal/tos"
      },
      {
       "l": "inside-app-bundle",
       "v": "Yes",
       "status": "yes",
       "sub": "The @sendgrid/mail and sendgrid client packages are MIT licensed; keep them on the server side.",
       "quote": "\"license\":\"MIT\"",
       "src": "https://registry.npmjs.org/@sendgrid/mail/8.1.6"
      },
      {
       "l": "client-work",
       "v": "With conditions",
       "status": "cond",
       "sub": "Allowed; if you hand the account to a reseller or another party to manage, the account owner stays responsible.",
       "quote": "If you reassign your account to a third-party reseller, you are still responsible for your obligations under these Terms.",
       "src": "https://www.twilio.com/en-us/legal/tos"
      },
      {
       "l": "Trains on what you send",
       "v": "Not for general model training in the pages we read; Twilio's data protection addendum allows model training for its own anti-abuse tools.",
       "quote": null,
       "src": null
      },
      {
       "l": "Keeps your data",
       "v": "The searchable email activity log keeps 3 days on the trial and Essentials and 7 days on Pro and Premier. Categories and custom arguments are not treated as personal data and may be stored long-term.",
       "quote": null,
       "src": null
      },
      {
       "l": "Where data is stored",
       "v": "Global sending by default; sending from the EU (EU IP address and EU subuser) needs the Pro plan or above.",
       "quote": null,
       "src": null
      }
     ]
    }
   ]
  },
  {
   "id": "errors",
   "nav": null,
   "spy_as": "access",
   "h2": "Errors to handle",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "400",
       "v": "The request body is invalid; the answer lists the problems (for example more than 1,000 recipients or a missing to address).",
       "sub": "Read the errors array, fix the fields it names and send again; do not retry the same body."
      },
      {
       "l": "401",
       "v": "The API key is missing or wrong.",
       "sub": "Check SENDGRID_API_KEY and the Authorization Bearer header; create a new key if it was deleted."
      },
      {
       "l": "403 (sender)",
       "v": "The from address does not match a verified sender or authenticated domain.",
       "sub": "Verify the sender in Sender Authentication or send from the authenticated domain."
      },
      {
       "l": "403 (blocked)",
       "v": "Sending is blocked for a while because of repeated bad requests.",
       "sub": "Stop retrying invalid requests, fix them, and wait before sending again."
      },
      {
       "l": "429",
       "v": "Too many requests for this endpoint in the current period.",
       "sub": "Wait until the time in X-RateLimit-Reset, then retry with backoff."
      }
     ]
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "3 of 6: llms.txt no, OpenAPI no, SDK yes, MCP no, status page yes, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "Twilio MCP server (docs search; covers the SendGrid docs, public beta)",
       "sub": "claude mcp add --transport http twilio-docs https://mcp.twilio.com/docs"
      },
      {
       "l": "npm",
       "v": "npm install @sendgrid/mail",
       "code": true
      },
      {
       "l": "PyPI",
       "v": "pip install sendgrid",
       "code": true
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Twilio SendGrid",
       "me": true,
       "facts": [
        "from $19.95/month",
        "Free tier"
       ]
      },
      {
       "name": "Resend",
       "why": "Pick Resend for a developer-focused email service that sends and also receives app and marketing email.",
       "path": "apis/resend/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "Postmark",
       "why": "Pick Postmark when fast delivery of app emails such as password resets matters most, with incoming email handling.",
       "path": "apis/postmark/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "Brevo",
       "why": "Pick Brevo when you want app and marketing email plus text messages and a contact list in one account.",
       "path": "apis/brevo/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      }
     ],
     "more": "All email sending APIs",
     "more_path": "apis/email/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Add SendGrid email to my app: on the server, read SENDGRID_API_KEY from .env, send from my authenticated domain with @sendgrid/mail 8.1.6, treat 202 as success, and log error.response.body when sending fails."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Sign up for a SendGrid account (free 60-day trial), turn on two-factor login, and create a Restricted API key with Mail Send full access only.",
       "code": null,
       "src": "https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs.md"
      },
      {
       "text": "Prove you own the sending address by authenticating your domain with a few DNS records (Single Sender Verification is only for testing).",
       "code": null,
       "src": "https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs.md"
      },
      {
       "text": "Install the package and send your first email.",
       "code": "npm install --save @sendgrid/mail",
       "src": "https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "First request"
    },
    {
     "t": "tabs",
     "label": "First request",
     "items": [
      {
       "tab": "Request",
       "code": "curl --request POST \\\n  --url https://api.sendgrid.com/v3/mail/send \\\n  --header 'Authorization: Bearer YOUR_API_KEY' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\"personalizations\": [{\"to\": [{\"email\": \"recipient@example.com\"}]}],\"from\": {\"email\": \"sendeexampexample@example.com\"},\"subject\": \"Hello, World!\",\"content\": [{\"type\": \"text/plain\", \"value\": \"Heya!\"}]}'\n",
       "intro": null
      },
      {
       "tab": "Response",
       "code": "202 Accepted\n"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Sending from any address, such as noreply@gmail.com, without verifying it.",
       "fix": "Authenticate your own domain (or verify a single sender for tests) and send from that address.",
       "why": "Unverified from addresses get 403 Forbidden."
      },
      {
       "dont": "Creating a Full Access key for an app that only sends email.",
       "fix": "Create a Restricted key with only Mail Send access.",
       "why": "A leaked full key can change the whole account; a restricted one can only send."
      },
      {
       "dont": "Putting 5,000 addresses in one request's to or bcc list.",
       "fix": "Split the list into batches of at most 1,000 recipients, or use personalizations so each person gets their own copy.",
       "why": "The request is rejected above 1,000 recipients."
      },
      {
       "dont": "Retrying a rejected request in a loop.",
       "fix": "Read the error list, fix the request, and back off on 429.",
       "why": "Repeated bad requests get the account temporarily blocked from sending."
      },
      {
       "dont": "Hard-coding SendGrid IP addresses in a firewall or client.",
       "fix": "Always call https://api.sendgrid.com/v3/ by name.",
       "why": "SendGrid's IP addresses change without notice."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Is SendGrid free?",
       "a": "No permanent free plan. A free trial lets you send 100 emails a day for 60 days, with no credit card; then a paid plan is needed.",
       "evidence": {
        "url": "https://www.twilio.com/en-us/products/email-api/pricing",
        "quote": "free trial lets you send 100 emails/day for 60 days"
       }
      },
      {
       "q": "Why do I get 403 Forbidden when sending?",
       "a": "The from address is not a verified sender. Verify the address or authenticate your domain first.",
       "evidence": {
        "url": "https://github.com/sendgrid/sendgrid-nodejs/blob/main/packages/mail/README.md",
        "quote": "Without this you will receive a 403 Forbidden response when trying to send mail."
       }
      },
      {
       "q": "How many people can one request go to?",
       "a": "Up to 1,000 recipients across to, cc and bcc in one request; split larger lists into several requests.",
       "evidence": {
        "url": "https://www.twilio.com/docs/sendgrid/api-reference/mail-send.md",
        "quote": "The total number of recipients must be no more than 1,000."
       }
      },
      {
       "q": "Can I send email from my front-end code?",
       "a": "No. The API key would be visible to everyone; keep it in an environment variable on the server.",
       "evidence": {
        "url": "https://github.com/sendgrid/sendgrid-nodejs/blob/main/packages/mail/README.md",
        "quote": "Instead, use an environment variable or some other secure means of protecting your Twilio SendGrid API Key."
       }
      },
      {
       "q": "Can my emails be sent from servers in the EU?",
       "a": "Yes, on the Pro plan or above, with an EU IP address and an EU subuser.",
       "evidence": {
        "url": "https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send.md",
        "quote": "EU Regional Email sending requires use of an EU IP address and EU subuser."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "Twilio"
  ],
  [
   "Category",
   "Email sending"
  ],
  [
   "Status",
   "Partially Degraded Service · 49 incidents in 30 days"
  ],
  [
   "Price",
   "from $19.95/month"
  ],
  [
   "Plans from",
   "$19.95/mo"
  ],
  [
   "Official SDK",
   "npm @sendgrid/mail, PyPI sendgrid"
  ],
  [
   "Latest SDK",
   "8.1.6 on npm"
  ],
  [
   "Agent check",
   "3 of 6"
  ],
  [
   "Pricing checked",
   "Nov 1, 2026"
  ]
 ],
 "good": [
  "There is no free plan any more, only a 60-day trial with 100 emails a day. Paid plans start at $19.95 a month.",
  "You must prove you own your sending domain with DNS records; it is also needed to upgrade from the free account.",
  "The key is shown only once when you create it, and SendGrid cannot recover a lost key."
 ],
 "checked_line": "Read by AgentGid from 26 official pages, card checked Nov 10, 2026; usage numbers update daily."
}