Skip to main content

SendGrid MCP

In one line: Connect SendGrid so UnleashX can send emails, manage contacts and lists, validate addresses, and clean up bounced/blocked recipients — all from a conversation or automation.
CategoryMarketing
AuthenticationAPI Key
Setup time~3 minutes
DifficultyEasy
Best forTeams that send transactional or notification email through SendGrid and want their agent to send messages and keep contact lists tidy.

1. Overview

SendGrid (by Twilio) is an email delivery platform used to send transactional and marketing email reliably at scale, with contact lists, custom fields and deliverability tooling. Once connected to UnleashX, your agent can send an email on demand, add or update a contact, organize contacts into lists, validate an address before sending, and remove blocked or bounced recipients from the suppression list. Connecting SendGrid to UnleashX means follow-up emails and list hygiene happen automatically as part of your workflows, without logging into the SendGrid dashboard.

2. What you’ll need

  • A SendGrid account.
  • A verified sender (single sender or authenticated domain) — required to send email.
  • Permission to create an API key (admin access to the SendGrid account).
No admin access? Ask your SendGrid admin to create an API key and verify a sender, then share the key and the verified “from” address with you.

3. Get your credentials

UnleashX authenticates to SendGrid with an API key.
1

Open API Keys

In SendGrid, go to Settings → API Keys: https://app.sendgrid.com/settings/api_keys
2

Create a key

Click Create API Key, name it “UnleashX”, and choose Full Access (or a restricted key with Mail Send + Marketing/Contacts permissions).
3

Copy the key

Copy the key now.
SendGrid shows the API key only once. If you lose it, you must create a new one.
4

Verify a sender

Go to Settings → Sender Authentication and verify the email address or domain you’ll send from.
Permission the key needsWhy UnleashX needs it
Mail SendSend transactional emails.
Marketing → Contacts (read/write)Create/update contacts and manage lists.
Marketing → Lists (read/write)Create and delete contact lists.
Suppressions → BlocksList, read and remove blocked addresses.
Email ValidationValidate an address before sending (if enabled on your plan).

4. Connect on UnleashX

1

Open your agent

Sign in at https://www.tryunleashx.com and open the agent you want to connect.
2

Find SendGrid

Go to Data Connectors and find SendGrid.
3

Connect

Click Connect / Add / Configure and paste your SendGrid API key. Provide your verified sender email if prompted.
4

Confirm

Save. The status will switch to a Connected badge.
01 sendgrid connected

5. Available tools

ToolWhat it doesChanges data?
Send EmailSend an email to a recipient.✏️ Yes
Create ListCreate a new contact list.✏️ Yes
Add or Update ContactAdd or update a contact (optionally add to lists).✏️ Yes
Get All ListsList all contact lists.No
Get All ContactsList all contacts.No
Get Contact FieldsList available custom contact fields.No
Delete ListDelete a list (optionally its contacts).⚠️ Yes
List BlocksList blocked email addresses (suppressions).No
Get BlockLook up a single blocked address.No
Delete BlockRemove an address from the block list.⚠️ Yes
Validate EmailValidate an email address.No
Remove Contact from ListRemove contacts from a list.⚠️ Yes
Delete ContactsPermanently delete contacts by ID or email.⚠️ Yes

6. Example usage

“Email jane@acme.com a subject ‘Your demo is confirmed’ with the details below.” Runs Send Email from your verified sender address. “Add jane@acme.com to my ‘Newsletter’ list and remove her old blocked entry.” Runs Get All Lists (to find the list), Add or Update Contact, and Delete Block if she was previously blocked.

7. Permissions & data access

UnleashX can:
  • Send emails from your verified sender.
  • Create/update/delete contacts and lists.
  • Read and remove suppression (block) entries and validate addresses.
UnleashX cannot:
  • Send from an unverified sender address.
  • Access SendGrid data beyond what the API key’s permissions allow.
  • Change your SendGrid billing or account-level settings.
To disconnect: In UnleashX go to Data Connectors → SendGrid → Disconnect. To fully revoke, delete the API key in SendGrid → Settings → API Keys. Revocation is immediate.

8. Troubleshooting

ProblemWhat it meansHow to fix it
401 UnauthorizedThe API key is missing, wrong or deleted.Reconnect in UnleashX with a valid key.
403 ForbiddenThe key lacks the needed permission (e.g. Mail Send or Contacts).Edit the key’s permissions in SendGrid, or create a Full Access key, and reconnect.
Email accepted but not deliveredSender not verified or recipient is suppressed/blocked.Verify your sender; use List Blocks and Delete Block to clear the recipient.
400 Bad Request on sendMissing/invalid “from” email or malformed recipient.Provide a valid verified sender and recipient and retry.
429 Too Many RequestsYou hit SendGrid’s rate limit.Wait and retry.
For general connector issues, see /mcp/integrations.

9. Frequently asked questions

Why do I need a verified sender? SendGrid blocks email from unverified addresses to protect deliverability. Verify a single sender or authenticate your domain before sending. Is my contact data stored by UnleashX? No. Tools call the SendGrid API live and return the result; UnleashX doesn’t keep a copy of your contacts. How do I rotate my key? Create a new API key in SendGrid, reconnect in UnleashX, then delete the old key.

10. References