Skip to main content
Glama
Resend Email MCP

Resend Email MCP

Send Batch Emails

send-batch-emails

Send up to 100 individual transactional emails in a single API call, such as receipts or password resets, instead of using one-to-many broadcasts.

Instructions

Purpose: Send up to 100 transactional emails in one API call. Each item has the same fields as send-email (to, subject, text, from, etc.).

NOT for: Sending one email (use send-email) or the same content to a segment (use create-broadcast + send-broadcast).

When to use: User wants to send many individual emails in bulk (e.g. 50 password resets, 100 receipts). Not for one-to-many broadcasts.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "emails": "<emails>"
    },
    "name": "send-batch-emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsYesArray of email objects to send (1-100 emails)
idempotencyKeyNoOptional unique key for the whole batch that prevents duplicate batch sends on retries (sent as the Idempotency-Key header). Use the same key when retrying the same batch; use a new key for a different batch. Must be 1-256 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.30.0
    • removedInput schema / properties / emails / items / properties / bcc / items / format
      Removed value: -"email"
    • addedInput schema / properties / emails / items / properties / bcc / items / minLength
      Added value: +1
    • removedInput schema / properties / emails / items / properties / bcc / items / pattern
      Removed value: -"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • removedInput schema / properties / emails / items / properties / cc / items / format
      Removed value: -"email"
    • addedInput schema / properties / emails / items / properties / cc / items / minLength
      Added value: +1
    • removedInput schema / properties / emails / items / properties / cc / items / pattern
      Removed value: -"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • removedInput schema / properties / emails / items / properties / to / items / format
      Removed value: -"email"
    • addedInput schema / properties / emails / items / properties / to / items / minLength
      Added value: +1
    • removedInput schema / properties / emails / items / properties / to / items / pattern
      Removed value: -"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  2. Changed3 schema fields changedv2.28.2
    • changedInput schema / properties / emails / items / properties / bcc / items / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • changedInput schema / properties / emails / items / properties / cc / items / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • changedInput schema / properties / emails / items / properties / to / items / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  3. Changed7 schema fields changedv2.12.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / emails / items / properties / headers
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Optional custom email headers as key/value pairs (e.g. {\"List-Unsubscribe\": \"<https://example.com/unsubscribe>\", \"X-Entity-Ref-ID\": \"unique-id\"}).",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / emails / items / properties / replyTo / description
      Previous value: -"Reply-to email addresses"New value: +"Reply-to email addresses (e.g. \"support@example.com\" or \"Support Team <support@example.com>\")"
    • removedInput schema / properties / emails / items / properties / replyTo / items / format
      Removed value: -"email"
    • removedInput schema / properties / emails / items / properties / replyTo / items / pattern
      Removed value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Optional unique key for the whole batch that prevents duplicate batch sends on retries (sent as the Idempotency-Key header). Use the same key when retrying the same batch; use a new key for a different batch. Max 256 characters."New value: +"Optional unique key for the whole batch that prevents duplicate batch sends on retries (sent as the Idempotency-Key header). Use the same key when retrying the same batch; use a new key for a different batch. Must be 1-256 characters."
    • addedInput schema / properties / idempotencyKey / minLength
      Added value: +1
  4. Changed1 schema field changedv2.11.0
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Optional unique key for the whole batch that prevents duplicate batch sends on retries (sent as the Idempotency-Key header). Use the same key when retrying the same batch; use a new key for a different batch. Max 256 characters.",
      +  "maxLength": 256,
      +  "type": "string"
      +}
  5. First observedv2.10.0

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It discloses the batch cap and the fact that it is a single API call sending real transactional email, which is the core behavior. It does not address atomicity or partial-failure semantics for a batch (does one bad recipient fail all 100?), nor does it flag that sends are irreversible — meaningful gaps for a bulk-write tool, though the schema covers retry-avoidance via idempotencyKey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Bold-labeled sections (Purpose / NOT for / When to use) make it scannable and front-loaded, with no filler sentences. There is modest overlap between 'Purpose' and 'When to use', and the trailing 'Not for one-to-many broadcasts' restates the 'NOT for' line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Only two top-level parameters, full schema descriptions, and no output schema, so the description need not explain return values. The main thing an agent still needs and cannot infer is what happens when some emails in the batch fail — the only substantive omission for a tool of this shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every parameter including the nested email fields and idempotencyKey semantics; baseline is 3. The description adds one genuinely useful cross-reference — 'Each item has the same fields as send-email' — which lets an agent reuse a known shape, but it does not mention idempotencyKey at all, which matters most for a batch.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with scope: 'Send up to 100 transactional emails in one API call.' The 100-item cap and 'one API call' framing distinguish it immediately from single-send and broadcast tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names two alternatives and the conditions that select them: 'NOT for: Sending one email (use send-email) or the same content to a segment (use create-broadcast + send-broadcast).' The 'When to use' paragraph reinforces with concrete examples (50 password resets, 100 receipts).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools