Skip to main content
Glama
Sendmux

Sendmux Email Inbox API + Sending

Official

Send Email

sending_send_email

Send an outbound email with HTML content, attachments, CC/BCC recipients, and custom headers through the sending API.

Instructions

Use this to send one outbound email through the sending API. For attachments, call sending_upload_attachment first for local/tiny content or sending_create_attachment_upload for delegated file PUTs, then pass attachments as attachment_id refs. Inline base64 is only for tiny generated content. Include an Idempotency-Key so retries do not create duplicate sends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipients (max 100)
toYesPrimary recipient
bccNoBCC recipients (max 100)
fromYesSender address
subjectYesEmail subject line (max 998 chars, RFC 5322)
reply_toNoReply-To address
html_bodyYesHTML email content (max 25MB)
text_bodyNoPlain text alternative (max 25MB)
attachmentsNoFile attachments (max 10). Use attachment_id refs for uploaded files.
return_pathNoEnvelope sender for VERP support
custom_headersNoCustom X-* headers to include in the email
Idempotency-KeyNoOptional client-generated key to make the request idempotent for 24 hours. Replays under the same key return the cached response; a reused key with a different body returns 409 idempotency_conflict.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds value beyond annotations by explaining idempotency behavior (same key different body returns 409) and attachment flow. Annotations already indicate non-destructive, non-idempotent, and readOnlyHint false, which aligns with the description. No contradiction.

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

Conciseness5/5

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

The description is four sentences, front-loaded with the main purpose, followed by important usage details. Every sentence adds value without redundancy or unnecessary words.

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

Completeness5/5

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

Given the complexity (12 params, 100% schema coverage, output schema exists), the description covers key patterns: single email, attachment prerequisites, inline base64 limit, idempotency. It is complete for an agent to use correctly.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds meaning by advising on attachment strategy and idempotency, which supplements the schema's per-parameter descriptions. It provides practical context for using parameters correctly.

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?

The description clearly states the verb ('send') and resource ('one outbound email'). It distinguishes from sibling tools like 'mailbox_send_message' and 'sending_send_email_batch' by specifying 'through the sending API' and 'one email'.

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?

The description provides explicit guidance: how to handle attachments (upload first, then pass attachment_id), when to use inline base64 (only for tiny content), and recommends including an Idempotency-Key for retries. It also implicitly excludes batch sending.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sendmux/sendmux-sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server