Wraps Email for Amazon SES
An MCP server that lets AI agents send email through your own AWS SES account and inspect its setup, sends, and deliverability.
send_email — send a transactional email to one address or up to 1000, with HTML and/or text body; requires
WRAPS_WRITE_ENABLED=trueand a verifiedfromidentity (the only write tool).list_recent_sends — list recent sends newest-first (limit ≤ 100, optional
sinceISO timestamp) with status, subject, recipients, and messageId.get_email_event_log — fetch the full SES event log for a messageId: Send, Delivery, Bounce, Complaint, Open, Click.
verify_domain_status — check whether a domain is verified for sending and its DKIM status, returning CNAME tokens to publish; SES identities are per-region.
list_suppressions — exact lookup for a single address, or a filtered (BOUNCE/COMPLAINT) paginated listing that states when truncated.
get_setup_status — read-only report of sandbox status, 24-hour quota/usage, enforcement state, whether
WRAPS_FROM_EMAILand writes are configured, plus a recommended next action.estimate_cost — estimate monthly Wraps plan fee plus itemized AWS costs (SES, EventBridge, SQS, Lambda, DynamoDB, dedicated IP, WAF) by volume, plan, tracking, retention; needs no AWS credentials.
Provides tools for interacting with Amazon SES, enabling AI agents to send email, check domain verification status, manage suppression lists, estimate sending costs, and inspect recent send history and event logs through a Wraps deployment.
AI agents: start with docs/using-the-sdks.md — which package to reach for, auth, the minimal correct call for each, and the sharp edges. For the full docs in one file, fetch wraps.dev/llms-full.txt, or wraps.dev/llms.txt for an agent-oriented index.
Packages
@wraps.dev/email — AWS SES
pnpm add @wraps.dev/emailimport { WrapsEmail } from '@wraps.dev/email';
const email = new WrapsEmail();
const { messageId } = await email.send({
from: 'hello@yourapp.com',
to: 'user@example.com',
subject: 'Welcome!',
html: '<h1>Hello from Wraps!</h1>',
});React.email support, template management, bulk sending, inbox reading, event history, and suppression lists. SDK docs →
@wraps.dev/sms — AWS End User Messaging
pnpm add @wraps.dev/smsimport { WrapsSMS } from '@wraps.dev/sms';
const sms = new WrapsSMS();
await sms.send({
to: '+14155551234',
message: 'Your verification code is 123456',
});Batch sending, opt-out management, and E.164 validation. SMS docs →
@wraps.dev/client — Wraps Platform API
pnpm add @wraps.dev/clientimport { createPlatformClient } from '@wraps.dev/client';
const client = createPlatformClient({ apiKey: 'your-api-key' });
const { data } = await client.GET('/v1/contacts/', {
params: { query: { page: '1', pageSize: '10' } },
});Auto-generated types from OpenAPI, workflow definitions, and brand kit configuration.
@wraps.dev/mcp — MCP server for Amazon SES
A Model Context Protocol server that lets AI agents send email from your own AWS account and inspect it. It runs locally over stdio, built on the official MCP TypeScript SDK, and reads AWS credentials from your environment.
{
"mcpServers": {
"wraps": {
"command": "npx",
"args": ["-y", "@wraps.dev/mcp"],
"env": { "AWS_REGION": "us-east-1", "AWS_PROFILE": "your-aws-profile" }
}
}
}Tools: send_email (off unless WRAPS_WRITE_ENABLED=true), verify_domain_status, list_suppressions, get_setup_status, and estimate_cost work on any SES account. list_recent_sends and get_email_event_log read send history from a Wraps deploy. Also runs from the Dockerfile at the repo root: docker build -t wraps-mcp . && docker run -i --rm -e AWS_REGION wraps-mcp. MCP docs →
Related MCP server: email-mcp
Documentation
Resource | Link |
Quickstart | |
SDK Reference | |
SMS Docs | |
MCP Server | |
CLI (deploy infra) |
Community
GitHub Issues — Bug reports and feature requests
GitHub Discussions — Questions and ideas
Contributing — Development setup and guidelines
License
MIT — see LICENSE for details.
Available Tools
7 toolsestimate_costARead-only
Estimate the monthly cost of sending email with Wraps + AWS: the flat Wraps plan fee and an itemized AWS bill (SES, EventBridge, SQS, Lambda, DynamoDB, dedicated IP, WAF). Use this instead of calculating by hand — the cost model has several interacting variables, including which SES pricing plan the AWS account is on. Requires no AWS credentials.
Inputs: emails (required), tier, billing, sesPlan, +3 more.
get_email_event_logARead-onlyIdempotent
Get the full delivery event log for a specific email by its messageId. Returns all SES events: Send, Delivery, Bounce, Complaint, Open, Click.
Inputs: messageId (required). Returns: to, from, found, events, +4 more
get_setup_statusARead-onlyIdempotent
Check this AWS SES account's sandbox status and get a recommended next action for getting a first send out. Read-only — makes no changes to your AWS account.
Inputs: no named parameters. Returns: region, sandbox, nextAction, writeEnabled, +4 more
list_recent_sendsARead-onlyIdempotent
List recently sent emails from your Wraps email history, newest first, at most limit messages. The timestamp shown is the send time and is stable across calls. Returns send status, subject, recipient, timestamp, and messageId for each send. Use the messageId with get_email_event_log for full delivery details. The since parameter accepts a full ISO 8601 datetime string (e.g., 2024-01-01T00:00:00Z).
Inputs: limit, since. Returns: sends, hasMore
list_suppressionsARead-onlyIdempotent
List addresses on your AWS SES account-level suppression list, or check a single address with email. SES silently drops mail to suppressed addresses, and sending to them damages your sending reputation, so check before sending to an address you have not sent to recently. To determine whether one specific address is suppressed, always pass email — that is an exact lookup. The listing is paginated and states explicitly when it is truncated; a truncated listing is never proof that an address is unsuppressed. Optionally filter the listing by reason (BOUNCE or COMPLAINT).
Inputs: email, limit, reason. Returns: mode, entries, complete, suppressed
send_emailADestructive
Send a transactional email via your AWS SES account. Requires WRAPS_WRITE_ENABLED=true. The from address must be a verified SES identity (an address or domain) in this account and region. The to field accepts a single address or an array of addresses.
Inputs: to (required), subject (required), from, html, +1 more. Returns: to, from, messageId
verify_domain_statusARead-onlyIdempotent
Check the verification and DKIM status of a sending domain in your AWS SES account. Returns whether the domain is verified for sending and its DKIM configuration status.
Inputs: domain (required). Returns: domain, region, verified, dkimStatus, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct concern—account setup status, sending, cost estimation, delivery events, send history, suppressions, and domain verification—with clear boundaries. The closest pair, get_setup_status and verify_domain_status, operate at different levels (account vs. domain) and their descriptions make that explicit.
All tool names follow a consistent snake_case verb_noun pattern: get_, send_, estimate_, list_, and verify_. The verbs are appropriate to each action, and there is no mixing of styles or vague generic terms.
Seven tools is well-scoped for an email-sending service. Each tool covers a necessary capability—setup, sending, cost, logging, history, suppression checking, and domain verification—without redundancy or bloat.
The tool surface covers the core email workflow: understand sandbox status, verify domains, send, check recent sends, inspect event logs, and avoid suppressed addresses. Minor gaps exist such as no tool to manage suppressions or perform domain verification actions, but agents can work around these using the existing status and listing tools.
Maintenance
Related MCP Connectors
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Hosted email for AI agents: create inboxes, send, receive, and reply over MCP with scoped API keys
Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.
Email safety MCP server. Detects phishing, prompt injection, CEO fraud for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for Sendook - an AI email communication platform. Enables AI agents to send and receive emails, manage inboxes, threads, and webhooks programmatically.16MIT
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server that empowers AI agents to securely send emails via SMTP, supporting plain text, HTML, and attachments.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to validate email addresses and send emails via SMTP with zero external dependencies.MIT
- AlicenseAqualityBmaintenanceLocal stdio MCP package for transactional email, sending domains and Correio mailboxes for AI agents, subject to team and mailbox permissions. @mepmail/mcp (MIT, Node >=20) implements a documented subset of the separately hosted OAuth service.28AGPL 3.0