[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-twilio-twilio-sendgrid-inbound-parse":3,"mdc--fwhfg4-key":35,"related-repo-twilio-twilio-sendgrid-inbound-parse":813,"related-org-twilio-twilio-sendgrid-inbound-parse":923},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":33,"mdContent":34},"twilio-sendgrid-inbound-parse","process inbound email via SendGrid webhooks","Receive inbound email via SendGrid Inbound Parse webhook. Covers MX record setup, parsed vs raw mode, handling attachments, and common pitfalls. Use when building email-to-app workflows like support ticket creation or email processing pipelines. Requires a SendGrid API key (SG.-prefix) — not applicable to the Twilio Email API (comms.twilio.com).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"twilio","Twilio","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftwilio.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"SendGrid","sendgrid","tag",{"name":17,"slug":18,"type":15},"Automation","automation",{"name":20,"slug":21,"type":15},"Webhooks","webhooks",{"name":23,"slug":24,"type":15},"Email","email",25,"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai","2026-07-17T06:06:34.851604",null,7,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":28},[],"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai\u002Ftree\u002FHEAD\u002Fskills\u002Fsendgrid\u002Ftwilio-sendgrid-inbound-parse","---\nname: twilio-sendgrid-inbound-parse\ndescription: >\n  Receive inbound email via SendGrid Inbound Parse webhook. Covers MX\n  record setup, parsed vs raw mode, handling attachments, and common\n  pitfalls. Use when building email-to-app workflows like support ticket\n  creation or email processing pipelines. Requires a SendGrid API key\n  (SG.-prefix) — not applicable to the Twilio Email API (comms.twilio.com).\n---\n\n## Overview\n\nInbound Parse converts incoming email into HTTP POST requests to your webhook endpoint. SendGrid receives the email at your domain's MX records and forwards the parsed content to your application.\n\n---\n\n## Setup\n\n1. **Configure MX records:** Point your domain (or subdomain) to `mx.sendgrid.net`\n2. **Add webhook:** SendGrid Console > Settings > Inbound Parse > Add Host & URL\n3. **Choose mode:** Parsed (default) or Raw\n\n**Subdomain recommended:** Use `inbound.yourdomain.com` to avoid disrupting existing email on `yourdomain.com`.\n\n---\n\n## Parsed Mode (Default)\n\nSendGrid extracts fields and POSTs them as form data:\n\n| Field | Description |\n|-------|-------------|\n| `from` | Sender address (`\"Name \u003Cemail@example.com>\"`) |\n| `to` | Envelope recipient |\n| `subject` | Email subject line |\n| `text` | Plain text body |\n| `html` | HTML body |\n| `envelope` | JSON string with `to` array and `from` |\n| `attachments` | Number of attachments (as string) |\n| `attachment-info` | JSON metadata for each attachment |\n| `attachment1`, `attachment2`... | Actual attachment files |\n\n**Python (Flask)**\n```python\nfrom flask import Flask, request\nimport json\n\napp = Flask(__name__)\n\n@app.route(\"\u002Finbound\", methods=[\"POST\"])\ndef handle_inbound():\n    sender = request.form.get(\"from\")\n    subject = request.form.get(\"subject\")\n    text_body = request.form.get(\"text\")\n    html_body = request.form.get(\"html\")\n    envelope = json.loads(request.form.get(\"envelope\", \"{}\"))\n    attachment_count = int(request.form.get(\"attachments\", \"0\"))\n    \n    print(f\"From: {sender}, Subject: {subject}\")\n    \n    for i in range(1, attachment_count + 1):\n        attachment = request.files.get(f\"attachment{i}\")\n        if attachment:\n            print(f\"Attachment: {attachment.filename}, {attachment.content_type}\")\n    \n    return \"\", 200\n```\n\n> **Security:** All inbound email content (`from`, `subject`, `text`, `html`, attachments) is untrusted external input. Sanitize HTML to prevent XSS before rendering. If feeding content to an LLM, isolate it as user input — never concatenate into system prompts. Verify webhook authenticity using signed webhooks (see Security section below).\n\n---\n\n## Raw Mode\n\nPosts the entire MIME message as `rawEmail` field. Use when you need full headers, DKIM signatures, or non-standard MIME parts. You must parse the MIME message yourself.\n\n---\n\n## Signed Inbound Parse Webhook (Security)\n\nSendGrid supports ECDSA signature verification for Inbound Parse, the same mechanism used for Event Webhooks. Enable it to cryptographically verify that payloads originate from SendGrid.\n\n**Strongly recommended over IP allowlisting** — SendGrid's webhook traffic comes from dynamic cloud infrastructure where IPs change frequently. Signature verification is more reliable and secure.\n\n---\n\n## CANNOT\n\n- **Cannot use Inbound Parse on a domain that already receives email** — MX records must point to `mx.sendgrid.net`. Use a subdomain to avoid disrupting existing email (e.g., Google Workspace, Microsoft 365).\n- **Cannot receive email without MX record changes** — DNS access is required. If you can't modify MX records, you can't use Inbound Parse.\n- **Cannot receive emails larger than 30MB** — Inbound messages exceeding 30MB are rejected.\n- **Cannot filter inbound email before it hits your webhook** — All email sent to the configured domain reaches your endpoint. Implement filtering in your handler.\n- **Cannot route to different endpoints per address** — All mail for the configured domain\u002Fsubdomain goes to a single webhook URL.\n- **Cannot guarantee delivery order** — Emails may arrive at your webhook out of order, especially under high volume.\n- **No built-in rate limiting** — All email to your configured domain reaches your endpoint. Implement rate limiting, payload size validation, and content sanitization in your handler.\n\n---\n\n## Next Steps\n\n- **Send email:** `twilio-sendgrid-email-send`\n- **Delivery tracking:** `twilio-sendgrid-webhooks`\n- **Account setup:** `twilio-sendgrid-account-setup`\n",{"data":36,"body":37},{"name":4,"description":6},{"type":38,"children":39},"root",[40,49,55,59,65,108,134,137,143,148,358,366,574,613,616,622,635,638,644,649,659,662,668,749,752,758,807],{"type":41,"tag":42,"props":43,"children":45},"element","h2",{"id":44},"overview",[46],{"type":47,"value":48},"text","Overview",{"type":41,"tag":50,"props":51,"children":52},"p",{},[53],{"type":47,"value":54},"Inbound Parse converts incoming email into HTTP POST requests to your webhook endpoint. SendGrid receives the email at your domain's MX records and forwards the parsed content to your application.",{"type":41,"tag":56,"props":57,"children":58},"hr",{},[],{"type":41,"tag":42,"props":60,"children":62},{"id":61},"setup",[63],{"type":47,"value":64},"Setup",{"type":41,"tag":66,"props":67,"children":68},"ol",{},[69,88,98],{"type":41,"tag":70,"props":71,"children":72},"li",{},[73,79,81],{"type":41,"tag":74,"props":75,"children":76},"strong",{},[77],{"type":47,"value":78},"Configure MX records:",{"type":47,"value":80}," Point your domain (or subdomain) to ",{"type":41,"tag":82,"props":83,"children":85},"code",{"className":84},[],[86],{"type":47,"value":87},"mx.sendgrid.net",{"type":41,"tag":70,"props":89,"children":90},{},[91,96],{"type":41,"tag":74,"props":92,"children":93},{},[94],{"type":47,"value":95},"Add webhook:",{"type":47,"value":97}," SendGrid Console > Settings > Inbound Parse > Add Host & URL",{"type":41,"tag":70,"props":99,"children":100},{},[101,106],{"type":41,"tag":74,"props":102,"children":103},{},[104],{"type":47,"value":105},"Choose mode:",{"type":47,"value":107}," Parsed (default) or Raw",{"type":41,"tag":50,"props":109,"children":110},{},[111,116,118,124,126,132],{"type":41,"tag":74,"props":112,"children":113},{},[114],{"type":47,"value":115},"Subdomain recommended:",{"type":47,"value":117}," Use ",{"type":41,"tag":82,"props":119,"children":121},{"className":120},[],[122],{"type":47,"value":123},"inbound.yourdomain.com",{"type":47,"value":125}," to avoid disrupting existing email on ",{"type":41,"tag":82,"props":127,"children":129},{"className":128},[],[130],{"type":47,"value":131},"yourdomain.com",{"type":47,"value":133},".",{"type":41,"tag":56,"props":135,"children":136},{},[],{"type":41,"tag":42,"props":138,"children":140},{"id":139},"parsed-mode-default",[141],{"type":47,"value":142},"Parsed Mode (Default)",{"type":41,"tag":50,"props":144,"children":145},{},[146],{"type":47,"value":147},"SendGrid extracts fields and POSTs them as form data:",{"type":41,"tag":149,"props":150,"children":151},"table",{},[152,171],{"type":41,"tag":153,"props":154,"children":155},"thead",{},[156],{"type":41,"tag":157,"props":158,"children":159},"tr",{},[160,166],{"type":41,"tag":161,"props":162,"children":163},"th",{},[164],{"type":47,"value":165},"Field",{"type":41,"tag":161,"props":167,"children":168},{},[169],{"type":47,"value":170},"Description",{"type":41,"tag":172,"props":173,"children":174},"tbody",{},[175,201,218,235,251,268,297,314,331],{"type":41,"tag":157,"props":176,"children":177},{},[178,188],{"type":41,"tag":179,"props":180,"children":181},"td",{},[182],{"type":41,"tag":82,"props":183,"children":185},{"className":184},[],[186],{"type":47,"value":187},"from",{"type":41,"tag":179,"props":189,"children":190},{},[191,193,199],{"type":47,"value":192},"Sender address (",{"type":41,"tag":82,"props":194,"children":196},{"className":195},[],[197],{"type":47,"value":198},"\"Name \u003Cemail@example.com>\"",{"type":47,"value":200},")",{"type":41,"tag":157,"props":202,"children":203},{},[204,213],{"type":41,"tag":179,"props":205,"children":206},{},[207],{"type":41,"tag":82,"props":208,"children":210},{"className":209},[],[211],{"type":47,"value":212},"to",{"type":41,"tag":179,"props":214,"children":215},{},[216],{"type":47,"value":217},"Envelope recipient",{"type":41,"tag":157,"props":219,"children":220},{},[221,230],{"type":41,"tag":179,"props":222,"children":223},{},[224],{"type":41,"tag":82,"props":225,"children":227},{"className":226},[],[228],{"type":47,"value":229},"subject",{"type":41,"tag":179,"props":231,"children":232},{},[233],{"type":47,"value":234},"Email subject line",{"type":41,"tag":157,"props":236,"children":237},{},[238,246],{"type":41,"tag":179,"props":239,"children":240},{},[241],{"type":41,"tag":82,"props":242,"children":244},{"className":243},[],[245],{"type":47,"value":47},{"type":41,"tag":179,"props":247,"children":248},{},[249],{"type":47,"value":250},"Plain text body",{"type":41,"tag":157,"props":252,"children":253},{},[254,263],{"type":41,"tag":179,"props":255,"children":256},{},[257],{"type":41,"tag":82,"props":258,"children":260},{"className":259},[],[261],{"type":47,"value":262},"html",{"type":41,"tag":179,"props":264,"children":265},{},[266],{"type":47,"value":267},"HTML body",{"type":41,"tag":157,"props":269,"children":270},{},[271,280],{"type":41,"tag":179,"props":272,"children":273},{},[274],{"type":41,"tag":82,"props":275,"children":277},{"className":276},[],[278],{"type":47,"value":279},"envelope",{"type":41,"tag":179,"props":281,"children":282},{},[283,285,290,292],{"type":47,"value":284},"JSON string with ",{"type":41,"tag":82,"props":286,"children":288},{"className":287},[],[289],{"type":47,"value":212},{"type":47,"value":291}," array and ",{"type":41,"tag":82,"props":293,"children":295},{"className":294},[],[296],{"type":47,"value":187},{"type":41,"tag":157,"props":298,"children":299},{},[300,309],{"type":41,"tag":179,"props":301,"children":302},{},[303],{"type":41,"tag":82,"props":304,"children":306},{"className":305},[],[307],{"type":47,"value":308},"attachments",{"type":41,"tag":179,"props":310,"children":311},{},[312],{"type":47,"value":313},"Number of attachments (as string)",{"type":41,"tag":157,"props":315,"children":316},{},[317,326],{"type":41,"tag":179,"props":318,"children":319},{},[320],{"type":41,"tag":82,"props":321,"children":323},{"className":322},[],[324],{"type":47,"value":325},"attachment-info",{"type":41,"tag":179,"props":327,"children":328},{},[329],{"type":47,"value":330},"JSON metadata for each attachment",{"type":41,"tag":157,"props":332,"children":333},{},[334,353],{"type":41,"tag":179,"props":335,"children":336},{},[337,343,345,351],{"type":41,"tag":82,"props":338,"children":340},{"className":339},[],[341],{"type":47,"value":342},"attachment1",{"type":47,"value":344},", ",{"type":41,"tag":82,"props":346,"children":348},{"className":347},[],[349],{"type":47,"value":350},"attachment2",{"type":47,"value":352},"...",{"type":41,"tag":179,"props":354,"children":355},{},[356],{"type":47,"value":357},"Actual attachment files",{"type":41,"tag":50,"props":359,"children":360},{},[361],{"type":41,"tag":74,"props":362,"children":363},{},[364],{"type":47,"value":365},"Python (Flask)",{"type":41,"tag":367,"props":368,"children":373},"pre",{"className":369,"code":370,"language":371,"meta":372,"style":372},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from flask import Flask, request\nimport json\n\napp = Flask(__name__)\n\n@app.route(\"\u002Finbound\", methods=[\"POST\"])\ndef handle_inbound():\n    sender = request.form.get(\"from\")\n    subject = request.form.get(\"subject\")\n    text_body = request.form.get(\"text\")\n    html_body = request.form.get(\"html\")\n    envelope = json.loads(request.form.get(\"envelope\", \"{}\"))\n    attachment_count = int(request.form.get(\"attachments\", \"0\"))\n    \n    print(f\"From: {sender}, Subject: {subject}\")\n    \n    for i in range(1, attachment_count + 1):\n        attachment = request.files.get(f\"attachment{i}\")\n        if attachment:\n            print(f\"Attachment: {attachment.filename}, {attachment.content_type}\")\n    \n    return \"\", 200\n","python","",[374],{"type":41,"tag":82,"props":375,"children":376},{"__ignoreMap":372},[377,388,397,407,416,424,433,441,450,459,468,477,486,495,504,513,521,530,539,548,557,565],{"type":41,"tag":378,"props":379,"children":382},"span",{"class":380,"line":381},"line",1,[383],{"type":41,"tag":378,"props":384,"children":385},{},[386],{"type":47,"value":387},"from flask import Flask, request\n",{"type":41,"tag":378,"props":389,"children":391},{"class":380,"line":390},2,[392],{"type":41,"tag":378,"props":393,"children":394},{},[395],{"type":47,"value":396},"import json\n",{"type":41,"tag":378,"props":398,"children":400},{"class":380,"line":399},3,[401],{"type":41,"tag":378,"props":402,"children":404},{"emptyLinePlaceholder":403},true,[405],{"type":47,"value":406},"\n",{"type":41,"tag":378,"props":408,"children":410},{"class":380,"line":409},4,[411],{"type":41,"tag":378,"props":412,"children":413},{},[414],{"type":47,"value":415},"app = Flask(__name__)\n",{"type":41,"tag":378,"props":417,"children":419},{"class":380,"line":418},5,[420],{"type":41,"tag":378,"props":421,"children":422},{"emptyLinePlaceholder":403},[423],{"type":47,"value":406},{"type":41,"tag":378,"props":425,"children":427},{"class":380,"line":426},6,[428],{"type":41,"tag":378,"props":429,"children":430},{},[431],{"type":47,"value":432},"@app.route(\"\u002Finbound\", methods=[\"POST\"])\n",{"type":41,"tag":378,"props":434,"children":435},{"class":380,"line":29},[436],{"type":41,"tag":378,"props":437,"children":438},{},[439],{"type":47,"value":440},"def handle_inbound():\n",{"type":41,"tag":378,"props":442,"children":444},{"class":380,"line":443},8,[445],{"type":41,"tag":378,"props":446,"children":447},{},[448],{"type":47,"value":449},"    sender = request.form.get(\"from\")\n",{"type":41,"tag":378,"props":451,"children":453},{"class":380,"line":452},9,[454],{"type":41,"tag":378,"props":455,"children":456},{},[457],{"type":47,"value":458},"    subject = request.form.get(\"subject\")\n",{"type":41,"tag":378,"props":460,"children":462},{"class":380,"line":461},10,[463],{"type":41,"tag":378,"props":464,"children":465},{},[466],{"type":47,"value":467},"    text_body = request.form.get(\"text\")\n",{"type":41,"tag":378,"props":469,"children":471},{"class":380,"line":470},11,[472],{"type":41,"tag":378,"props":473,"children":474},{},[475],{"type":47,"value":476},"    html_body = request.form.get(\"html\")\n",{"type":41,"tag":378,"props":478,"children":480},{"class":380,"line":479},12,[481],{"type":41,"tag":378,"props":482,"children":483},{},[484],{"type":47,"value":485},"    envelope = json.loads(request.form.get(\"envelope\", \"{}\"))\n",{"type":41,"tag":378,"props":487,"children":489},{"class":380,"line":488},13,[490],{"type":41,"tag":378,"props":491,"children":492},{},[493],{"type":47,"value":494},"    attachment_count = int(request.form.get(\"attachments\", \"0\"))\n",{"type":41,"tag":378,"props":496,"children":498},{"class":380,"line":497},14,[499],{"type":41,"tag":378,"props":500,"children":501},{},[502],{"type":47,"value":503},"    \n",{"type":41,"tag":378,"props":505,"children":507},{"class":380,"line":506},15,[508],{"type":41,"tag":378,"props":509,"children":510},{},[511],{"type":47,"value":512},"    print(f\"From: {sender}, Subject: {subject}\")\n",{"type":41,"tag":378,"props":514,"children":516},{"class":380,"line":515},16,[517],{"type":41,"tag":378,"props":518,"children":519},{},[520],{"type":47,"value":503},{"type":41,"tag":378,"props":522,"children":524},{"class":380,"line":523},17,[525],{"type":41,"tag":378,"props":526,"children":527},{},[528],{"type":47,"value":529},"    for i in range(1, attachment_count + 1):\n",{"type":41,"tag":378,"props":531,"children":533},{"class":380,"line":532},18,[534],{"type":41,"tag":378,"props":535,"children":536},{},[537],{"type":47,"value":538},"        attachment = request.files.get(f\"attachment{i}\")\n",{"type":41,"tag":378,"props":540,"children":542},{"class":380,"line":541},19,[543],{"type":41,"tag":378,"props":544,"children":545},{},[546],{"type":47,"value":547},"        if attachment:\n",{"type":41,"tag":378,"props":549,"children":551},{"class":380,"line":550},20,[552],{"type":41,"tag":378,"props":553,"children":554},{},[555],{"type":47,"value":556},"            print(f\"Attachment: {attachment.filename}, {attachment.content_type}\")\n",{"type":41,"tag":378,"props":558,"children":560},{"class":380,"line":559},21,[561],{"type":41,"tag":378,"props":562,"children":563},{},[564],{"type":47,"value":503},{"type":41,"tag":378,"props":566,"children":568},{"class":380,"line":567},22,[569],{"type":41,"tag":378,"props":570,"children":571},{},[572],{"type":47,"value":573},"    return \"\", 200\n",{"type":41,"tag":575,"props":576,"children":577},"blockquote",{},[578],{"type":41,"tag":50,"props":579,"children":580},{},[581,586,588,593,594,599,600,605,606,611],{"type":41,"tag":74,"props":582,"children":583},{},[584],{"type":47,"value":585},"Security:",{"type":47,"value":587}," All inbound email content (",{"type":41,"tag":82,"props":589,"children":591},{"className":590},[],[592],{"type":47,"value":187},{"type":47,"value":344},{"type":41,"tag":82,"props":595,"children":597},{"className":596},[],[598],{"type":47,"value":229},{"type":47,"value":344},{"type":41,"tag":82,"props":601,"children":603},{"className":602},[],[604],{"type":47,"value":47},{"type":47,"value":344},{"type":41,"tag":82,"props":607,"children":609},{"className":608},[],[610],{"type":47,"value":262},{"type":47,"value":612},", attachments) is untrusted external input. Sanitize HTML to prevent XSS before rendering. If feeding content to an LLM, isolate it as user input — never concatenate into system prompts. Verify webhook authenticity using signed webhooks (see Security section below).",{"type":41,"tag":56,"props":614,"children":615},{},[],{"type":41,"tag":42,"props":617,"children":619},{"id":618},"raw-mode",[620],{"type":47,"value":621},"Raw Mode",{"type":41,"tag":50,"props":623,"children":624},{},[625,627,633],{"type":47,"value":626},"Posts the entire MIME message as ",{"type":41,"tag":82,"props":628,"children":630},{"className":629},[],[631],{"type":47,"value":632},"rawEmail",{"type":47,"value":634}," field. Use when you need full headers, DKIM signatures, or non-standard MIME parts. You must parse the MIME message yourself.",{"type":41,"tag":56,"props":636,"children":637},{},[],{"type":41,"tag":42,"props":639,"children":641},{"id":640},"signed-inbound-parse-webhook-security",[642],{"type":47,"value":643},"Signed Inbound Parse Webhook (Security)",{"type":41,"tag":50,"props":645,"children":646},{},[647],{"type":47,"value":648},"SendGrid supports ECDSA signature verification for Inbound Parse, the same mechanism used for Event Webhooks. Enable it to cryptographically verify that payloads originate from SendGrid.",{"type":41,"tag":50,"props":650,"children":651},{},[652,657],{"type":41,"tag":74,"props":653,"children":654},{},[655],{"type":47,"value":656},"Strongly recommended over IP allowlisting",{"type":47,"value":658}," — SendGrid's webhook traffic comes from dynamic cloud infrastructure where IPs change frequently. Signature verification is more reliable and secure.",{"type":41,"tag":56,"props":660,"children":661},{},[],{"type":41,"tag":42,"props":663,"children":665},{"id":664},"cannot",[666],{"type":47,"value":667},"CANNOT",{"type":41,"tag":669,"props":670,"children":671},"ul",{},[672,689,699,709,719,729,739],{"type":41,"tag":70,"props":673,"children":674},{},[675,680,682,687],{"type":41,"tag":74,"props":676,"children":677},{},[678],{"type":47,"value":679},"Cannot use Inbound Parse on a domain that already receives email",{"type":47,"value":681}," — MX records must point to ",{"type":41,"tag":82,"props":683,"children":685},{"className":684},[],[686],{"type":47,"value":87},{"type":47,"value":688},". Use a subdomain to avoid disrupting existing email (e.g., Google Workspace, Microsoft 365).",{"type":41,"tag":70,"props":690,"children":691},{},[692,697],{"type":41,"tag":74,"props":693,"children":694},{},[695],{"type":47,"value":696},"Cannot receive email without MX record changes",{"type":47,"value":698}," — DNS access is required. If you can't modify MX records, you can't use Inbound Parse.",{"type":41,"tag":70,"props":700,"children":701},{},[702,707],{"type":41,"tag":74,"props":703,"children":704},{},[705],{"type":47,"value":706},"Cannot receive emails larger than 30MB",{"type":47,"value":708}," — Inbound messages exceeding 30MB are rejected.",{"type":41,"tag":70,"props":710,"children":711},{},[712,717],{"type":41,"tag":74,"props":713,"children":714},{},[715],{"type":47,"value":716},"Cannot filter inbound email before it hits your webhook",{"type":47,"value":718}," — All email sent to the configured domain reaches your endpoint. Implement filtering in your handler.",{"type":41,"tag":70,"props":720,"children":721},{},[722,727],{"type":41,"tag":74,"props":723,"children":724},{},[725],{"type":47,"value":726},"Cannot route to different endpoints per address",{"type":47,"value":728}," — All mail for the configured domain\u002Fsubdomain goes to a single webhook URL.",{"type":41,"tag":70,"props":730,"children":731},{},[732,737],{"type":41,"tag":74,"props":733,"children":734},{},[735],{"type":47,"value":736},"Cannot guarantee delivery order",{"type":47,"value":738}," — Emails may arrive at your webhook out of order, especially under high volume.",{"type":41,"tag":70,"props":740,"children":741},{},[742,747],{"type":41,"tag":74,"props":743,"children":744},{},[745],{"type":47,"value":746},"No built-in rate limiting",{"type":47,"value":748}," — All email to your configured domain reaches your endpoint. Implement rate limiting, payload size validation, and content sanitization in your handler.",{"type":41,"tag":56,"props":750,"children":751},{},[],{"type":41,"tag":42,"props":753,"children":755},{"id":754},"next-steps",[756],{"type":47,"value":757},"Next Steps",{"type":41,"tag":669,"props":759,"children":760},{},[761,777,792],{"type":41,"tag":70,"props":762,"children":763},{},[764,769,771],{"type":41,"tag":74,"props":765,"children":766},{},[767],{"type":47,"value":768},"Send email:",{"type":47,"value":770}," ",{"type":41,"tag":82,"props":772,"children":774},{"className":773},[],[775],{"type":47,"value":776},"twilio-sendgrid-email-send",{"type":41,"tag":70,"props":778,"children":779},{},[780,785,786],{"type":41,"tag":74,"props":781,"children":782},{},[783],{"type":47,"value":784},"Delivery tracking:",{"type":47,"value":770},{"type":41,"tag":82,"props":787,"children":789},{"className":788},[],[790],{"type":47,"value":791},"twilio-sendgrid-webhooks",{"type":41,"tag":70,"props":793,"children":794},{},[795,800,801],{"type":41,"tag":74,"props":796,"children":797},{},[798],{"type":47,"value":799},"Account setup:",{"type":47,"value":770},{"type":41,"tag":82,"props":802,"children":804},{"className":803},[],[805],{"type":47,"value":806},"twilio-sendgrid-account-setup",{"type":41,"tag":808,"props":809,"children":810},"style",{},[811],{"type":47,"value":812},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":814,"total":922},[815,831,851,862,874,889,906],{"slug":816,"name":816,"fn":817,"description":818,"org":819,"tags":820,"stars":25,"repoUrl":26,"updatedAt":830},"twilio-account-setup","configure Twilio accounts and credentials","Create and configure a Twilio account from scratch. Covers free trial signup, trial limitations, getting credentials (Account SID and Auth Token), buying a phone number, verifying recipient numbers for trial use, SDK installation, first API call, subaccount management (creation, inheritance, credential isolation, limits), and enabling specific products (AI Assistants, Conversations, Verify, ConversationRelay, WhatsApp). Use this skill before any other Twilio skill if you do not yet have a Twilio account or need to enable a product. For Organization-level governance (SSO, SCIM, multi-team), see `twilio-organizations-setup`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[821,824,827],{"name":822,"slug":823,"type":15},"API Development","api-development",{"name":825,"slug":826,"type":15},"Communications","communications",{"name":828,"slug":829,"type":15},"SMS","sms","2026-08-01T05:43:28.968968",{"slug":832,"name":832,"fn":833,"description":834,"org":835,"tags":836,"stars":25,"repoUrl":26,"updatedAt":850},"twilio-agent-augmentation-architect","augment human agents with AI intelligence","Planning skill for augmenting human agents with real-time AI intelligence. Qualifies the developer's use case across coaching, compliance, QA, and routing to recommend the right Conversation Intelligence + Conversation Memory + TaskRouter architecture. Handles both \"I want to add AI coaching to my call center\" and \"configure Conversation Intelligence operators for script adherence.\"\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[837,840,843,846,849],{"name":838,"slug":839,"type":15},"Agents","agents",{"name":841,"slug":842,"type":15},"AI","ai",{"name":844,"slug":845,"type":15},"Coaching","coaching",{"name":847,"slug":848,"type":15},"QA","qa",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:58.250609",{"slug":852,"name":852,"fn":853,"description":854,"org":855,"tags":856,"stars":25,"repoUrl":26,"updatedAt":861},"twilio-agent-connect","connect AI agents to Twilio channels","Connect third-party AI agents (OpenAI, Bedrock, LangChain, Microsoft Foundry) to Twilio's communication channels using the Twilio Agent Connect SDK. Covers identity resolution, memory and context management via Conversation Memory, conversation orchestration via Conversation Orchestrator, multi-channel handling (Voice, SMS, RCS, WhatsApp, Chat), and AI-to-human escalation. Use this skill when integrating an existing LLM agent with Twilio services.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[857,858,859,860],{"name":838,"slug":839,"type":15},{"name":822,"slug":823,"type":15},{"name":825,"slug":826,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:06:05.217098",{"slug":863,"name":863,"fn":864,"description":865,"org":866,"tags":867,"stars":25,"repoUrl":26,"updatedAt":873},"twilio-ai-agent-architect","plan Twilio conversational AI agents","Planning skill for AI-powered conversational agents. Qualifies the developer's use case across outcome sophistication, entry point, and customer profile to recommend the right Twilio Conversations architecture and implementation skills. Handles both high-level requests (\"build me a voice AI assistant\") and specific ones (\"integrate ConversationRelay with my OpenAI backend\").\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[868,869,872],{"name":838,"slug":839,"type":15},{"name":870,"slug":871,"type":15},"Architecture","architecture",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:48.883723",{"slug":875,"name":875,"fn":876,"description":877,"org":878,"tags":879,"stars":25,"repoUrl":26,"updatedAt":888},"twilio-call-recordings","record and manage Twilio voice calls","Record Twilio voice calls correctly. Covers the critical distinction between Record verb (voicemail) and Dial record (call recording), dual-channel for QA, mid-call pause for PCI, Conference recording, and the ConversationRelay workaround. Use this skill whenever you need to capture call audio for compliance, QA, or analytics.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[880,883,886,887],{"name":881,"slug":882,"type":15},"Audio","audio",{"name":884,"slug":885,"type":15},"Compliance","compliance",{"name":847,"slug":848,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.268412",{"slug":890,"name":890,"fn":891,"description":892,"org":893,"tags":894,"stars":25,"repoUrl":26,"updatedAt":905},"twilio-cli-reference","manage Twilio resources via CLI","Twilio CLI reference for managing Twilio resources from the terminal. Covers installation, credential profiles, phone number provisioning, sending SMS and email, webhook configuration, local development with a tunneling service, debugging with watch and logs, serverless deployment, and plugin ecosystem. Use when the developer asks to \"just do it\", \"set this up\", \"run a command\", mentions \"CLI\", \"command line\", or \"terminal\", or when an AI agent can execute a task directly instead of writing application code.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[895,898,901,904],{"name":896,"slug":897,"type":15},"CLI","cli",{"name":899,"slug":900,"type":15},"Local Development","local-development",{"name":902,"slug":903,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:54.925664",{"slug":907,"name":907,"fn":908,"description":909,"org":910,"tags":911,"stars":25,"repoUrl":26,"updatedAt":921},"twilio-compliance-onboarding","manage Twilio messaging and voice compliance","Registrations required BEFORE Twilio traffic works. Covers messaging programs (A2P 10DLC, toll-free verification, WhatsApp WABA, RCS, short code, alphanumeric sender) and voice trust programs (STIR\u002FSHAKEN, Voice Integrity, Branded Calling, CNAM). Each number\u002Fsender type has its own program — registration blocks traffic until complete.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[912,913,916,917,918],{"name":884,"slug":885,"type":15},{"name":914,"slug":915,"type":15},"Messaging","messaging",{"name":828,"slug":829,"type":15},{"name":9,"slug":8,"type":15},{"name":919,"slug":920,"type":15},"WhatsApp","whatsapp","2026-07-17T06:05:47.897229",57,{"items":924,"total":922},[925,931,939,946,952,959,966,974,990,1003,1017,1035],{"slug":816,"name":816,"fn":817,"description":818,"org":926,"tags":927,"stars":25,"repoUrl":26,"updatedAt":830},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[928,929,930],{"name":822,"slug":823,"type":15},{"name":825,"slug":826,"type":15},{"name":828,"slug":829,"type":15},{"slug":832,"name":832,"fn":833,"description":834,"org":932,"tags":933,"stars":25,"repoUrl":26,"updatedAt":850},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[934,935,936,937,938],{"name":838,"slug":839,"type":15},{"name":841,"slug":842,"type":15},{"name":844,"slug":845,"type":15},{"name":847,"slug":848,"type":15},{"name":9,"slug":8,"type":15},{"slug":852,"name":852,"fn":853,"description":854,"org":940,"tags":941,"stars":25,"repoUrl":26,"updatedAt":861},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[942,943,944,945],{"name":838,"slug":839,"type":15},{"name":822,"slug":823,"type":15},{"name":825,"slug":826,"type":15},{"name":9,"slug":8,"type":15},{"slug":863,"name":863,"fn":864,"description":865,"org":947,"tags":948,"stars":25,"repoUrl":26,"updatedAt":873},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[949,950,951],{"name":838,"slug":839,"type":15},{"name":870,"slug":871,"type":15},{"name":9,"slug":8,"type":15},{"slug":875,"name":875,"fn":876,"description":877,"org":953,"tags":954,"stars":25,"repoUrl":26,"updatedAt":888},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[955,956,957,958],{"name":881,"slug":882,"type":15},{"name":884,"slug":885,"type":15},{"name":847,"slug":848,"type":15},{"name":9,"slug":8,"type":15},{"slug":890,"name":890,"fn":891,"description":892,"org":960,"tags":961,"stars":25,"repoUrl":26,"updatedAt":905},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[962,963,964,965],{"name":896,"slug":897,"type":15},{"name":899,"slug":900,"type":15},{"name":902,"slug":903,"type":15},{"name":9,"slug":8,"type":15},{"slug":907,"name":907,"fn":908,"description":909,"org":967,"tags":968,"stars":25,"repoUrl":26,"updatedAt":921},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[969,970,971,972,973],{"name":884,"slug":885,"type":15},{"name":914,"slug":915,"type":15},{"name":828,"slug":829,"type":15},{"name":9,"slug":8,"type":15},{"name":919,"slug":920,"type":15},{"slug":975,"name":975,"fn":976,"description":977,"org":978,"tags":979,"stars":25,"repoUrl":26,"updatedAt":989},"twilio-compliance-traffic","ensure compliance for Twilio messaging traffic","Rules you must follow for Twilio messaging and voice traffic. Covers TCPA (consent tiers, quiet hours, DNC), GDPR (EU consent, right to deletion), PCI DSS (payment recording, Pay verb), HIPAA (BAA, PHI), FDCPA (debt collection limits), CAN-SPAM, WhatsApp policies, SHAKEN\u002FSTIR, and consent management patterns. Use this skill proactively when developers have working traffic to ensure they follow the rules.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[980,981,982,985,988],{"name":884,"slug":885,"type":15},{"name":914,"slug":915,"type":15},{"name":983,"slug":984,"type":15},"Regulatory Compliance","regulatory-compliance",{"name":986,"slug":987,"type":15},"Security","security",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.952779",{"slug":991,"name":991,"fn":992,"description":993,"org":994,"tags":995,"stars":25,"repoUrl":26,"updatedAt":1002},"twilio-conference-calls","build multi-party calls with Twilio Conference","Build multi-party calls using Twilio Conference. Covers warm transfer, cold transfer, coaching (whisper), hold vs mute, participant modes, and supervisor barge. Use this skill for any contact center, support line, or scenario requiring transfers, holds, or multi-party calls.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[996,997,998,1001],{"name":881,"slug":882,"type":15},{"name":825,"slug":826,"type":15},{"name":999,"slug":1000,"type":15},"Meetings","meetings",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.603708",{"slug":1004,"name":1004,"fn":1005,"description":1006,"org":1007,"tags":1008,"stars":25,"repoUrl":26,"updatedAt":1016},"twilio-content-template-builder","create and send message templates with Twilio","Create, manage, and send message templates using Twilio's Content API. Covers template creation for WhatsApp, SMS, RCS, and MMS; variable usage; WhatsApp Meta approval; and sending templates via ContentSid. Use this skill when building structured messages that require pre-approval or consistent formatting across channels.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1009,1010,1011,1012,1015],{"name":23,"slug":24,"type":15},{"name":914,"slug":915,"type":15},{"name":828,"slug":829,"type":15},{"name":1013,"slug":1014,"type":15},"Templates","templates",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:26.637309",{"slug":1018,"name":1018,"fn":1019,"description":1020,"org":1021,"tags":1022,"stars":25,"repoUrl":26,"updatedAt":1034},"twilio-conversation-intelligence","build conversation intelligence pipelines","Twilio Conversation Intelligence development guide. Use when building real-time or post-call conversation analysis, language operator pipelines, sentiment analysis, agent assist, cross-channel analytics, or querying aggregated conversation insights (sentiment trends, escalation rates, dashboards).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1023,1024,1027,1030,1033],{"name":838,"slug":839,"type":15},{"name":1025,"slug":1026,"type":15},"Analytics","analytics",{"name":1028,"slug":1029,"type":15},"Monitoring","monitoring",{"name":1031,"slug":1032,"type":15},"NLP","nlp",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:52.545387",{"slug":1036,"name":1036,"fn":1037,"description":1038,"org":1039,"tags":1040,"stars":25,"repoUrl":26,"updatedAt":1046},"twilio-conversation-memory","manage conversation memory with Twilio","Store and retrieve conversation context using Twilio Conversation Memory. Covers Memory Store provisioning, profile management, traits, observations, conversation summaries, and semantic Recall. Use this skill to give AI agents or human agents persistent memory of conversations across sessions and channels.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1041,1042,1045],{"name":838,"slug":839,"type":15},{"name":1043,"slug":1044,"type":15},"Memory","memory",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:19.526724"]