MetorialDocs

Set up Resend in Metorial for Claude, ChatGPT and Cursor

Share Resend with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 85 tools (37 read-only).

To give your team Resend in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Resend integration in a Metorial portal, and each person connects with an API key. Agents can send, receive, and manage emails programmatically. The integration has 85 tools, 37 read-only, 32 write and 16 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares Resend in a portal and how each person connects
  • What Resend asks for when you connect, and where to find it
  • How to keep the 37 read-only tools and reject the other 48

Before you start

Sign-in methods

MethodTypeWhat a person provides
API Key (default)API tokentoken

Also available: OAuth.

The portal and metorial setup use API Key unless someone picks another method.

API Key

To connect, a person enters:

  • token: Resend API key (starts with re_)

Admin: share Resend in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Resend. Under Auth Method, keep API Key or pick another. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Resend.

Choose who gets it

Add the access groups that should see Resend. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Resend integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search resend

Employee: connect Resend

In the portal

Open Resend in the catalog

Sign in to your portal and open Resend. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search resend
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses API Key. To connect with OAuth instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Resend connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list resend
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 37 read-only tools, such as get_log and get_email, and lose the 32 write tools, such as send_email or send_event, and the 16 destructive tools, such as delete_event or delete_topic.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list resend
metorial tools <integration-id>
metorial call <integration-id> list_logs -d '{}'

metorial tools lists the 85 tools, minus any you rejected. list_logs takes no input. It lists Resend API request logs, including endpoint, HTTP method, response status, and user agent.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (37)

Show all 37 read-only tools
  • get_domain: Retrieve details of a domain including its verification status and DNS records. Needs domainId.
  • list_domains: List all registered sending domains with their status and region.
  • list_broadcasts: List all broadcast campaigns with their status and delivery timestamps.
  • get_contact: Retrieve a contact's details by their ID or email address. Needs contactIdOrEmail.
  • get_email: Retrieve details of a sent email by its ID, including delivery status, recipients, subject, content, and tags. Needs emailId.
  • get_broadcast: Retrieve details of a broadcast campaign including status, content, and delivery information. Needs broadcastId.
  • list_contacts: List contacts, optionally filtered by segment.
  • list_received_emails: List inbound emails received on your verified domains.
  • list_api_keys: List all API keys in your Resend account.
  • get_template: Retrieve a template's details by ID or alias, including content, status, and variables. Needs templateIdOrAlias.
  • list_audiences: List all audiences in your Resend account.
  • get_received_email: Retrieve the full details of a received inbound email including HTML/text content and attachment metadata. Needs emailId.
  • list_templates: List all email templates with their name, status, and timestamps.
  • get_event: Retrieve a Resend event by ID or name. Needs eventIdOrName.
  • get_contact_property: Retrieve a Resend contact property by ID. Needs contactPropertyId.
  • list_webhooks: List Resend webhooks configured for the authenticated team.
  • list_segments: List Resend segments in the authenticated team.
  • list_contact_segments: List Resend segments that a contact belongs to by contact ID or email address. Needs contactIdOrEmail.
  • list_automations: List Resend automations configured for the authenticated team.
  • list_sent_emails: List emails sent by your Resend team.
  • list_logs: List Resend API request logs, including endpoint, HTTP method, response status, and user agent.
  • list_topics: List Resend topics in the authenticated team.
  • get_automation_run: Retrieve one run for a Resend automation. Needs automationId and runId.
  • get_webhook: Retrieve a Resend webhook endpoint by ID. Needs webhookId.
  • list_automation_runs: List runs for a Resend automation. Needs automationId.
  • get_topic: Retrieve a Resend topic by ID. Needs topicId.
  • get_automation: Retrieve a Resend automation by ID. Needs automationId.
  • list_contact_topics: List topic subscription preferences for a contact by contact ID or email address. Needs contactIdOrEmail.
  • list_contact_properties: List Resend contact properties configured for the authenticated team.
  • get_segment: Retrieve a Resend segment by ID. Needs segmentId.
  • list_events: List Resend events configured for the authenticated team.
  • list_segment_contacts: List contacts that belong to a Resend segment. Needs segmentId.
  • get_log: Retrieve one Resend API request log by ID, including the request and response bodies. Needs logId.
  • download_email_attachment: Download one sent or received Resend email attachment as a downloadable file. Needs source, emailId and attachmentId.
  • list_email_attachments: List attachments for a sent or received Resend email. Needs source and emailId.
  • list_suppressions: List email addresses on the Resend suppression list.
  • get_suppression: Check whether an email address is on the Resend suppression list, by suppression ID or email address.

Write tools (32)

Show all 32 write tools
  • create_contact: Create a new contact with an email address. Needs email.
  • send_email: Send a transactional email to one or more recipients. Needs from, to and subject.
  • update_contact: Update a contact's name, subscription status, or custom properties. Needs contactIdOrEmail.
  • send_batch_emails: Send multiple emails in a single API call. Needs emails.
  • create_broadcast: Create a broadcast campaign to send to a segment of contacts. Needs segmentId, from and subject.
  • create_domain: Register a new sending domain in Resend. Needs name.
  • update_domain: Update a domain's open/click tracking, tracking subdomain, TLS, and sending or receiving capabilities. Needs domainId.
  • verify_domain: Trigger DNS verification for a domain. Needs domainId.
  • send_broadcast: Send a draft broadcast immediately or schedule it for later. Needs broadcastId.
  • create_audience: Create an audience to organize contacts into groups for broadcast targeting. Needs name.
  • create_template: Create a reusable email template. Needs name and html.
  • update_template: Update an existing template's content, name, or defaults. Needs templateId.
  • create_api_key: Create a new Resend API key with specific permissions. Needs name.
  • publish_template: Publish a template to make it available for sending emails. Needs templateIdOrAlias.
  • create_contact_property: Create a typed Resend contact property for storing personalization data on contacts. Needs key and type.
  • send_event: Send a named Resend event to trigger matching enabled automations for a contact ID or email address. Needs event.
  • create_topic: Create a Resend topic for contact subscription preferences. Needs name.
  • update_topic: Update a Resend topic name, description, or unsubscribe-page visibility. Needs topicId.
  • duplicate_template: Duplicate an existing Resend template so it can be edited without changing the original. Needs templateId.
  • update_contact_property: Update the fallback value for a Resend contact property. Needs contactPropertyId.
  • stop_automation: Stop a running Resend automation by disabling it. Needs automationId.
  • update_automation: Update a Resend automation name, status, steps, or connections. Needs automationId.
  • update_event: Update the flat payload schema for a Resend event, or clear it with null. Needs eventIdOrName and schema.
  • update_webhook: Update a Resend webhook endpoint URL, event subscriptions, or enabled status. Needs webhookId.
  • update_contact_topics: Update one or more topic subscription preferences for a contact by contact ID or email address. Needs contactIdOrEmail and topics.
  • create_webhook: Create a Resend webhook endpoint for email, contact, domain, suppression, topic, or inbox events. Needs endpoint and events.
  • add_contact_to_segment: Add an existing contact to a Resend segment by contact ID or email address. Needs contactIdOrEmail and segmentId.
  • create_event: Create a named Resend event that can be used to trigger automations. Needs name.
  • update_broadcast: Update a draft broadcast's target segment, sender, subject, reply-to, content, preview text, topic, or internal name before it is sent. Needs broadcastId.
  • create_segment: Create a Resend segment that contacts can be added to for broadcast targeting. Needs name.
  • create_automation: Create a Resend automation graph for email sequences. Needs name.
  • add_suppression: Add an email address to the Resend suppression list so Resend stops delivering to it, for example after a do-not-email request.

Destructive tools (16)

  • cancel_scheduled_email: Cancel a scheduled email that hasn't been sent yet, or update the scheduled time of a pending email. Needs emailId and action.
  • delete_domain: Remove a sending domain from Resend. Needs domainId.
  • delete_contact: Remove a contact by ID or email address. Needs contactIdOrEmail.
  • delete_template: Permanently delete an email template by ID or alias. Needs templateIdOrAlias.
  • delete_api_key: Permanently revoke an API key. Needs apiKeyId.
  • delete_broadcast: Delete a draft broadcast. Needs broadcastId.
  • delete_audience: Permanently delete an audience. Needs audienceId.
  • delete_automation: Delete a Resend automation. Needs automationId.
  • delete_segment: Delete a Resend segment. Needs segmentId.
  • delete_topic: Delete a Resend topic. Needs topicId.
  • delete_webhook: Delete a Resend webhook endpoint. Needs webhookId.
  • delete_contact_property: Delete a Resend contact property definition. Needs contactPropertyId.
  • remove_contact_from_segment: Remove an existing contact from a Resend segment by contact ID or email address. Needs contactIdOrEmail and segmentId.
  • delete_event: Delete a Resend event definition. Needs eventIdOrName.
  • remove_suppression: Remove an email address from the Resend suppression list, by suppression ID or email address, so Resend will deliver to it again.
  • cancel_broadcast: Cancel a scheduled or queued broadcast.

Triggers

Resend has 3 triggers, which fire on events in Resend:

  • contact_events: Triggers when contact events occur such as created, updated, or deleted.
  • email_events: Triggers when email events occur such as sent, delivered, bounced, opened, clicked, complained, delivery delayed, received, or failed.
  • domain_events: Triggers when domain events occur such as created, updated (including verification status changes), or deleted.

Next steps