MCPVault

batch-send-bulk-email

MCP tool from Mailtrap MCP by mailtrap

Sends a batch of bulk emails through Mailtrap's bulk-stream API. Same base + requests[] shape, validation, and inline-vs-template rules as batch-send-transactional-email — the only difference is that this tool routes the call through the bulk endpoint instead of the transactional one. See the parame

How to use it

batch-send-bulk-email is exposed by the Mailtrap MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the batch-send-bulk-email tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Mailtrap MCP

$npx @smithery/cli install mailtrap
FULL MAILTRAP MCP LISTING

Other tools in Mailtrap MCP (39)

base

(optional): Object with fields shared across the batch.

batch-send-transactional-email

Sends a batch of transactional emails in one Mailtrap API call (default sending stream). Shared fields go on base; per-recipient overrides go in requests[]. Each request must include at least one recipient via to, cc, or bcc. Same inline-vs-template mutual exclusion as send-email — checked after mer

bcc

(optional): Array of BCC recipients as { email, name? } objects (bare email strings also accepted at runtime).

breakdown

(optional): How to break down the stats: aggregated (default), bydomain, bycategory, byemailserviceprovider, or bydate

category

(optional): Email category for tracking and analytics. Must be omitted when templateuuid is set.

cc

(optional): Array of CC recipients as { email, name? } objects (bare email strings also accepted at runtime).

clicks_count

/ openscount (optional): Filter by click/open count; use with operator: equal, greaterthan, lessthan

client_ip

/ sendingip (optional): Filter by IP; use with operator: equal, notequal, contain, notcontain

custom_variables

(optional): Default custom variables (string-valued).

email_service_provider

(optional): Filter by provider (exact); use with operator: equal, notequal

email_service_provider_response

(optional): Filter by provider response text; use with operator (cicontain, etc.)

end_date

(required): End date for the stats range (YYYY-MM-DD)

events

(optional): Filter by event type(s): delivery, open, click, bounce, spam, unsubscribe, softbounce, reject, suspension; use with eventsoperator (includeevent / notincludeevent)

from

(optional): Sender as { email, name? } (a bare email string is also accepted at runtime). If not provided, DEFAULTFROMEMAIL is used.

from_email

(optional): Filter by sender email; use with fromoperator (default: ciequal)

get-email-log-message

Gets a single email log message by ID (UUID): a readable summary (from, to, subject, sent time, status, category, stream, engagement, delivery context), then detailed event history. Optionally, with includecontent: true, you can also load and show the message body (HTML and plain text) when Mailtrap

get-sending-stats

Get email sending statistics (delivery, bounce, open, click, spam rates) for a date range. Optionally break down by domain, category, email service provider, or date. Check delivery rates without leaving the editor.

headers

(optional): Default custom headers.

html

(conditional): HTML version of the email body. Required (alongside or instead of text) for inline sends; must be omitted when templateuuid is set.

include_content

(optional): When true, fetches the raw EML (if rawmessageurl is available) and appends parsed HTML and plain-text body sections, similar to show-sandbox-email-message.

list-email-logs

Lists sent email logs (delivery history) with optional pagination and filters. Use to debug delivery issues from the IDE.

message_id

(required): UUID of the email log message (from send response or list-email-logs). Use list-email-logs to find message IDs.

recipient_mx

(optional): Filter by recipient MX; use with recipientmxoperator (cicontain, etc.)

reply_to

(optional): Reply-to address.

requests

(required): Non-empty array of per-recipient messages. Each entry has:

search_after

(optional): Pagination cursor from the previous response's nextpagecursor

send-email

Sends a transactional email through Mailtrap. Supports two mutually exclusive modes — inline content (subject + text/html) or template-based (templateuuid).

sending_domain_id

(optional): Filter by sending domain ID (number); use with sendingdomainidoperator (default: equal)

sending_stream

(optional): Filter by stream: transactional or bulk; use with sendingstreamoperator (default: equal)

sent_after

(optional): ISO 8601 date/time; only logs sent after this time

sent_before

(optional): ISO 8601 date/time; only logs sent before this time

start_date

(required): Start date for the stats range (YYYY-MM-DD)

status

(optional): Filter by delivery status: delivered, notdelivered, enqueued, optedout; use with statusoperator (default: equal)

subject

(conditional): Email subject line. Required for inline sends; must be omitted when templateuuid is set.

template_uuid

(optional): Use a Mailtrap email template instead of inline content. When set, subject / text / html / category must be omitted (per Mailtrap API).

template_variables

(optional): Object of variables substituted into the template referenced by templateuuid. Only allowed together with templateuuid.

text

(conditional): Email body text. Required (alongside or instead of html) for inline sends; must be omitted when templateuuid is set.

to

(optional): Array of recipients as { email, name? } objects (bare email strings, or a single non-array address, are also accepted at runtime). Optional if cc or bcc is provided; at least one of to / cc / bcc must contain a recipient.

to_email

(optional): Filter by recipient email; use with tooperator (default: ciequal)