Skip to main content
Glama
Wraps Email for Amazon SES

Wraps Email for Amazon SES


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/email
import { 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/sms
import { 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/client
import { 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

Community

License

MIT — see LICENSE for details.

Available Tools

7 tools
estimate_costA
Read-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_logA
Read-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_statusA
Read-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_sendsA
Read-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_suppressionsA
Read-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_emailA
Destructive

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_statusA
Read-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

    A4.4/5.0

    Scored across 7 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for Sendook - an AI email communication platform. Enables AI agents to send and receive emails, manage inboxes, threads, and webhooks programmatically.
      16
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready MCP server that empowers AI agents to securely send emails via SMTP, supporting plain text, HTML, and attachments.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that enables AI agents to validate email addresses and send emails via SMTP with zero external dependencies.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Local 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.
      28
      AGPL 3.0