communicationapi_key

SendGrid

Transactional and marketing email.

Verdict

SendGrid in Switchy lets your team compose, send, and track transactional emails without leaving the AI workspace. @mention SendGrid to draft campaigns, manage contact lists, check delivery stats, or troubleshoot bounces. Marketing and support teams get the most value — you can pull send metrics mid-conversation, update templates on the fly, or queue bulk sends from a prompt. Setup requires a SendGrid API key with full access; you won't be able to send mail if the key lacks Mail Send permissions.

Common use cases

  • Send order confirmations from support chat
  • Pull campaign open rates during standup
  • Update email templates without leaving Slack
  • Troubleshoot bounce reports in real time
  • Queue bulk sends from a CSV paste

Integration

Vendor
SendGrid
Category
communication
Auth
API_KEY
Tools
50
Composio slug
sendgrid

Tools

  • Activate template version

    **this endpoint allows you to activate a version of one of your templates.**

  • Add a batch of ips to an ip pool

    This operation appends a batch of ips to an ip pool. this operation requires all ip assignments to succeed. if any ip assignments fail, this endpoint will return an error.

  • Add an ip address to a pool

    Add an ip address to a pool with this endpoint. activation in sendgrid needed first. it takes up to 60 seconds. possible to add to multiple pools. retrieve ips via a specific endpoint.

  • Add an ip to an authenticated domain

    **this endpoint allows you to add an ip address to an authenticated domain.**

  • Add a single recipient to a list

    **this endpoint allows you to add a single recipient to a list.**

  • Add a twilio sendgrid ip address

    This operation adds a twilio sendgrid ip address to your account. you can also assign up to 100 subusers to the ip address at creation.

  • Add ips

    **this endpoint is for adding a(n) ip address(es) to your account.**

  • Add one or more ips to the allow list

    This endpoint adds allowed ip addresses to a list, which then assigns each ip an id for future removal; ids can be retrieved via a specific retrieval endpoint.

  • Add or update a contact

    The endpoint can handle 30k contacts or 6mb, reports queuing/errors, needs extra steps to confirm changes and retrieve ids. custom fields must pre-exist and exact identifiers are required for updates; email addresses are auto-lowered in cas

  • Add recipient addresses to the global suppression group

    **this endpoint allows you to add one or more email addresses to the global suppressions group.**

  • Add suppressions to a suppression group

    **this endpoint allows you to add email addresses to an unsubscribe group.** if you attempt to add suppressions to a group that has been deleted or does not exist, the suppressions will be added to the global suppressions list.

  • Approve access request

    **this endpoint allows you to approve an access attempt.** **note:** only teammate admins may approve another teammate’s access request.

  • Assign a batch of subusers to an ip

    This operation appends a batch of subusers to a specified ip address. this endpoint requires all subuser assignments to succeed. if a subuser assignment fails, this endpoint will return an error.

  • Associate a branded link with a subuser

    Parent accounts can create and validate branded links, then assign them to subusers through the api or twilio sendgrid app, enabling subusers to use the branded links for mail.

  • Associate an authenticated domain with a given user

    Associate authenticated domains with subusers under a parent account to enable email sending using the parent's domain. authentication by the parent is required. multiple domains can be linked using the specified endpoint.

  • Authenticate a domain

    The endpoint enables domain authentication for users or subusers, offering two methods—'username' parameter for visibility and modification, or the association workflow for a fixed, non-editable domain assignment.

  • Authenticate an account with single sign on

    Authenticates and logs in a user to twilio sendgrid as a specific admin identity configured for sso by partner. any additional teammates or subusers will need to log in directly via app.sendgrid.com

  • Bind authenticated domains to user

    This endpoint enables linking up to five authenticated domains from a parent account to a subuser, giving them permission to send emails with the parent's domain. domains are prioritized when sending emails.

  • Bulk delete single sends
    destructive

    This api endpoint enables the deletion of multiple single sends by providing their ids. retrieve ids with a get request to `/marketing/singlensends`. deletions are irreversible.

  • Cancel or pause a scheduled send

    This api endpoint allows users to cancel or pause a scheduled email by providing its `batch id`. to change or remove this status, specific endpoints must be used; exceeding limits or duplicating actions will trigger a `400` error.

  • Completed steps

    This api endpoint checks if a sendgrid account has completed domain authentication (`domain verified`) and single sender verification (`sender verified`), returning boolean values for each.

  • Create a batch id

    Create a new mail batch id to group email sends, allowing pause or cancel actions via the scheduled sends api.

  • Create a branded link

    Create a new branded link by specifying the root domain, which must align with your from email, and an optional unique subdomain. subusers can request using the `on-behalf-of` header.

  • Create a campaign

    This endpoint enables campaign creation, requiring a subject, sender id, content (html and text suggested), and a list or segment id for sending or scheduling, but not for initial creation.

  • Create a custom field

    **this endpoint allows you to create a custom field.** **you can create up to 120 custom fields.**

  • Create a list

    **this endpoint allows you to create a list for your recipients.**

  • Create an account

    Creates a new account, with specified offering, under the organization.

  • Create a new alert

    **this endpoint allows you to create a new alert.**

  • Create a new event webhook

    Set up an event webhook by providing a url, choosing events for post requests, and receive a unique id. after creation, you can add names, oauth, and signature verification.

  • Create a new suppression group

    **this endpoint allows you to create a new suppression group.** to add an email address to the suppression group, [create a suppression](https://docs.sendgrid.com/api-reference/suppressions-suppressions/add-suppressions-to-a-suppression-gro

  • Create a new transactional template version

    **this endpoint allows you to create a new version of a template.**

  • Create an ip pool

    Create an ip pool by activating an ip in sendgrid: log in, go to settings > ip addresses, edit selected ip, check to allow sending, and save.

  • Create an ip pool with a name and ip assignments

    Creating an ip pool associates specified ips with it. all ips must be successfully assigned, or creation fails with an error. a pool can have up to 100 ips.

  • Create an sso certificate

    **this endpoint allows you to create an sso certificate.**

  • Create an sso integration

    **this endpoint allows you to create an sso integration.**

  • Create an sso teammate

    Create an sso teammate with email as username. assign roles using `is admin`, `scopes`, or `persona`. admins have full rights, personas have predefined permissions, and scopes are specific rights. teammates can manage subusers with potentia

  • Create a parse setting

    Create a new inbound parse setting with a twilio sendgrid authenticated `hostname` and a public `url` to receive parsed messages via http post. complete domain authentication and mx record setup as instructed in sendgrid documentation.

  • Create api keys

    Use sendgrid app to create an initial api key; then manage others via api. json with 'name' required; 100 key limit. keys have unique ids, default 'full access' unless scopes specified. update scopes with 'update api keys' endpoint.

  • Create a segment

    New segment endpoint created: supports various operators for date, text, number, and email fields. values must be strings, can specify campaign for email actions. conditions combinable via "and"/"or".

  • Create a sender

    This api endpoint is for creating new senders, with a limit of 100. verification is mandatory, either automatic upon domain authentication or via a confirmation email sent to the sender's address.

  • Create a sender identity

    **this endpoint allows you to create a new sender identity.** you may create up to 100 unique sender identities.

  • Create a transactional template

    **this endpoint allows you to create a transactional template.**

  • Create custom field definition

    Create unique case-insensitive custom fields with alphanumeric/underscore names starting with a letter/underscore. save the id for edits/deletes. limited to 500 fields of type date, text, or number. avoid starting with numbers to prevent ca

  • Create design

    Create new designs via `/designs` by submitting html content. consider email client limitations and see the guide for best practices. convert html to editable modules in the design library, or use preferred tools/migrate existing designs.

  • Createintegration

    This endpoint creates an integration for email event forwarding. each integration has a maximum number of allowed integration instances per user. for example, users can create up to 10 segment integrations.

  • Create list

    This endpoint enables the creation of a new contacts list, which can automate email sending when new contacts are added. a link to the new list is provided in ` metadata`.

  • Create segment

    Segment `name` has to be unique. a user can not create a new segment with an existing segment name.

  • Create single send

    The endpoint lets you create a single send draft without needing a template id; it now uses `email config`. a set `send at` doesn't schedule it; it must be done through another endpoint or ui.

  • Create subuser

    **this endpoint allows you to create a new subuser.**

  • Create verified sender request

    This endpoint creates a new sender identity via `post`, sends a verification email to `from email`, and requires email verification. to resend, use `/resend/{id}`. for domain authentication, refer to the domain authentication api.

Setup

Setup guide

  1. 11. Open your Switchy workspace and navigate to Settings > Integrations > Communication. 2. Click 'Connect' next to SendGrid. 3. Log into your SendGrid account (or create one at sendgrid.com) and go to Settings > API Keys. 4. Click 'Create API Key', choose 'Full Access' (or at minimum enable Mail Send, Template Engine, Marketing Campaigns, and IP Management scopes), then copy the key. 5. Paste the key into Switchy's connection dialog and click 'Authorize'. 6. Return to any Space, type '@SendGrid list my email templates' and send — if you see template names in the reply, the connection works. 7. To send a test email, try '@SendGrid send a test message to [your email] with subject Test from Switchy'.

What teammates see: by default, memories from SendGrid are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

Draft Welcome Email

@SendGrid create a new email template called 'Welcome Series 1' with subject 'Welcome to [Company]' and a friendly onboarding message that includes a call-to-action button linking to our getting-started guide.
Open in a Space →

Check Delivery Stats

@SendGrid show me delivery stats for the campaign I sent yesterday — I need open rate, click rate, and any bounces or spam reports.
Open in a Space →

Add Contacts to List

@SendGrid add these five email addresses to my 'Newsletter Subscribers' list: user1@example.com, user2@example.com, user3@example.com, user4@example.com, user5@example.com.
Open in a Space →

Troubleshoot Bounces

@SendGrid why did my email to support@example.com bounce? Show me the bounce reason and any error codes from the last 48 hours.
Open in a Space →

Activate Template Version

@SendGrid activate version 3 of my 'Monthly Newsletter' template and confirm it's now the default for all future sends.
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@SendGrid show me all email templates currently active in our account and their last-modified dates

Output

Based on your SendGrid account, here are the active email templates: 'Weekly Newsletter' (last modified 2024-01-15), 'Onboarding Series - Day 1' (last modified 2024-01-10), 'Password Reset' (last modified 2023-12-20), and 'Order Confirmation' (last modified 2024-01-18). Each template has multiple versions; the dates reflect when the active version was last updated. You have 12 total templates, but only these 4 are currently activated for sending.

Notes

This example demonstrates the MCP's ability to retrieve and summarize template metadata. Requires API key with read access to templates. The actual response structure depends on your account's template inventory — this output is illustrative of what a typical account might return.

Prompt

@SendGrid add the IP address 192.0.2.45 to our 'transactional-pool' and confirm it's ready to send

Output

I've added IP 192.0.2.45 to your 'transactional-pool'. Important: SendGrid requires up to 60 seconds for IP activation to complete. The IP has been assigned pool ID 'trans-pool-001' and is currently in 'pending' status. You should wait approximately one minute before sending mail through this IP. To verify readiness, you can check the pool's IP list again after the activation window.

Notes

This write operation shows the MCP's infrastructure management capabilities. Be aware that IP pool changes affect deliverability immediately once active. The 60-second activation delay is a SendGrid platform constraint. Requires API key with IP management permissions and an existing pool name.

Prompt

@SendGrid review our last 50 bounced emails and tell me if there's a pattern — are specific domains or recipient types causing most bounces?

Output

Analyzing your recent bounce data: 32 of 50 bounces (64%) came from free email providers (Gmail, Yahoo, Outlook). The most common bounce reason was 'mailbox full' (18 occurrences), followed by 'invalid recipient' (14 occurrences). Three domains account for 40% of bounces: example-corp.com (12 bounces), testdomain.net (8 bounces), and demo-site.org (6 bounces). Recommendation: Consider suppressing or re-validating addresses at these three domains, and implement a pre-send validation step for free provider addresses.

Notes

This synthesis example pairs SendGrid's bounce event data with AI reasoning to surface actionable patterns. The MCP retrieves raw bounce records; the AI interprets trends. Actual bounce reasons and domain distribution will vary by your sending history. Requires API key with stats/events read access.

Use-case deep-dives

Transactional email from SaaS app

When SendGrid MCP makes sense for product notifications

A 6-person SaaS team ships password resets, invoice receipts, and trial-expiry warnings from their Rails app. The SendGrid MCP is overkill here. Those transactional flows belong in your application code, not an AI workspace. The MCP's 50 tools are built for infrastructure ops—activating template versions, managing IP pools, adding subusers to authenticated domains. If your team is debugging why emails land in spam or rotating IPs after a deliverability incident, the MCP gives your ops lead a conversational interface to audit configs without opening the SendGrid console. But for day-to-day sends, stick with the SDK. Reserve the MCP for the quarterly IP-warming project or the one-off template migration when you're moving 40 templates between environments and need to script the activation sequence.

Customer support email triage

Why this MCP doesn't help support teams read inboxes

A 3-person support team at a B2B startup wants to use Switchy to summarize customer emails and draft replies. The SendGrid MCP won't do it. SendGrid is a sending platform, not an inbox. The MCP's tools manage outbound infrastructure—IP pools, domain authentication, suppression lists—not inbound message parsing. If your support flow is 'customer emails us, we reply via SendGrid', the MCP can help you audit why a reply bounced or check if a customer's address is on your suppression list. But it won't fetch the original message or thread history. For that, you need an IMAP MCP or a help-desk integration like Zendesk. Use SendGrid MCP when you're troubleshooting delivery, not when you're reading mail.

Marketing campaign IP reputation audit

When to use this MCP for deliverability forensics

A 2-person growth team at a newsletter startup sees open rates drop from 40% to 18% over two weeks. They suspect an IP reputation hit. The SendGrid MCP is the right call. They can query which IPs are assigned to their authenticated domain, check if any IPs landed on a blocklist, and review suppression-list additions in the same Switchy thread where they're drafting the fix plan. The MCP's 50 tools are overkill for routine sends, but they shine when you're diagnosing why Gmail started junking your emails. The threshold: if you send under 50k emails a month and never touch IP settings, you don't need this. If you're warming a new IP or migrating domains, the MCP saves you 20 minutes of console-clicking every time you need to verify a config change.

Frequently asked

What does the SendGrid MCP let me do in Switchy?

The SendGrid MCP gives your AI agents direct access to SendGrid's email infrastructure. Agents can activate email templates, manage IP pools, add recipients to lists, and configure authenticated domains—all without leaving the conversation. This is useful for teams that want to automate email campaign setup or troubleshoot deliverability issues through natural language.

Do I need admin access to connect SendGrid to Switchy?

You need a SendGrid API key with appropriate scopes for the operations you want agents to perform. SendGrid uses API key auth, not OAuth, so whoever generates the key controls what the MCP can do. If you want agents to manage IP pools or authenticated domains, the key needs full access permissions. Read-only keys will limit agents to viewing data.

Can the SendGrid MCP actually send transactional emails?

No. The MCP focuses on account configuration—activating templates, managing IP pools, adding recipients to lists, and configuring authenticated domains. To send individual emails, you'd still use SendGrid's Mail Send API directly or through a different integration. This MCP is for setup and infrastructure management, not message delivery.

Why use this instead of SendGrid's dashboard or API?

The MCP is faster for one-off admin tasks that don't justify writing a script. If you need to add three IPs to a pool or activate a template version, an agent can do it in one sentence instead of you clicking through the dashboard. For bulk operations or production workflows, SendGrid's API is still the better choice.

Who on my team should connect the SendGrid account?

Whoever manages your email infrastructure and has access to generate SendGrid API keys. This is typically a backend engineer or DevOps lead, not a marketer. Once connected, any Switchy user in your workspace can ask agents to perform SendGrid operations, so restrict the API key's permissions to match your team's trust boundaries.

Compare with

Compare with anything else →
Data last verified 7 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.