Skip to main content
Glama

Apumail — Email & SMS for AI Agents

send_mail

Send an outbound mail FROM your inbox address. The from is forced to your authenticated address — you cannot spoof another sender. Rate limit is charged PER RECIPIENT (a fan-out to N recipients costs N): free (random-slug) inboxes get 5 recipients/DAY per inbox (max 5 per message) from a shared daily free budget — enough to answer a signup or hand off an OTP, not to relay; verified-human (notlogin) and paid/permanent inboxes get 100 recipients/h + max 50 per message with no daily cap; plus 120 recipients/h per source IP. Send abuse destroys domain reputation. Use case: reply to a verification flow that expects a confirmation, forward an OTP to a colleague, send a confirmation back to a service. Body can be text, html, or both.

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": {
      "address": "<address>",
      "token": "<token>",
      "to": "<to>",
      "subject": "<subject>"
    },
    "name": "send_mail"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient address(es).
htmlNoHTML body. Optional if text provided.
textNoPlain-text body. Required if html omitted.
tokenYesYour inbox token.
addressYesYour inbox address (also becomes the From).
subjectYesSubject line, ≤ 256 chars.
reply_toNoOptional Reply-To address.
attachmentsNoOptional file attachments (max 20 files, 15MB total). Each is {filename, content, content_type?} where content is the file's bytes base64-encoded.
in_reply_toNoOptional raw In-Reply-To Message-ID (with angle brackets) when you hold the header yourself; reply_to_mail_id is simpler.
reply_to_mail_idNoOptional: the id of a mail in THIS inbox you are answering. The send then carries In-Reply-To/References derived from it, so the recipient's mail client threads your reply under the original conversation. Prefer this over setting headers by hand.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses forced sender identity, per-recipient rate-limit accounting, tier-specific limits, daily caps, IP-level limits, and abuse consequences. It also explains supported body formats.

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?

The key constraint — outbound mail from your own address — is front-loaded in the first sentence. The rate-limit detail is dense but relevant, though the single long paragraph could be easier to scan if structured.

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?

For a complex send tool with ten parameters and no annotations, the description covers sender identity, rate limits, body formats, and practical use cases. It does not discuss return values or error behavior, but the parameter schema is fully documented.

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 all ten parameters. The description reinforces body-format behavior and the from-address constraint, but adds little parameter meaning beyond what the schema already provides.

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: send an outbound mail from the agent's own inbox. It immediately distinguishes this from spoofed sending by saying the from address is forced to the authenticated address.

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

Usage Guidelines4/5

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

Provides concrete use cases such as replying to a verification flow, forwarding an OTP, and sending a confirmation back to a service. It does not explicitly compare against siblings like forward_mail or send_sms, but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources