Send email through your own Amazon SES account, and check domains, suppressions and sandbox status.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
send_email
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.
| Parameter | Type | Description |
|---|---|---|
subject * | string | Subject line. |
to * | Recipient address, or an array of up to 1000 addresses. | |
from | string | Sender address. Must be a verified SES identity in this account. Defaults to WRAPS_FROM_EMAIL. |
html | string | HTML body. Provide `html`, `text`, or both; at least one is required. |
text | string | Plain-text body. Provide `html`, `text`, or both; at least one is required. |
list_recent_sends
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).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of messages to return, newest first (default 20). |
since | string | Only messages with activity at or after this ISO 8601 datetime. |
get_email_event_log
Get the full delivery event log for a specific email by its messageId. Returns all SES events: Send, Delivery, Bounce, Complaint, Open, Click.
| Parameter | Type | Description |
|---|---|---|
messageId * | string | SES message id, as returned by send_email or list_recent_sends. |
verify_domain_status
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.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to check, e.g. example.com. SES identities are per-region. |
list_suppressions
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).
| Parameter | Type | Description |
|---|---|---|
email | string | Check this ONE address against SES and report whether it is suppressed. Use this for any "is <address> suppressed?" question: it is an exact lookup. Do NOT answer that question from the listing instea… |
limit | integer | Maximum number of addresses to list (default 20, max 100). The response always states whether the listing was truncated. |
reason | string | Only list addresses suppressed for this reason. |
get_setup_status
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.
estimate_cost
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.
| Parameter | Type | Description |
|---|---|---|
emails * | integer | Emails sent per month |
billing | string | Wraps billing interval |
dedicatedIp | boolean | Include a dedicated sending IP |
retention | string | Email event history retention |
sesPlan | string | AWS SES pricing plan for this account and Region. AWS defaults new accounts to 'essentials' ($0.16/1K); 'alacarte' is $0.10/1K. Defaults to alacarte. |
tier | string | Wraps plan. The fee is flat per plan and does not change with volume. |
tracking | boolean | Whether the event tracking pipeline is deployed (default true) |