MailPace MCP by usefulapi
v1.2.1Send transactional emails, check delivery, and manage sending domains in MailPace.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mailpace_send_email Send a transactional email
Send one transactional email from the domain of the domain token. Use only for transactional email: MailPace terms forbid marketing sends. Confirm the recipients with the user first. The send is queued and returns an id; check delivery with mailpace_get_email_status. Pass an idempotency_key on every send: a timed-out call with a key can be retried safely, and one without a key may send twice. Uses the domain token. POST /api/v1/send.
| Parameter | Type | Description |
|---|---|---|
from * | string | Sender on the token's domain, e.g. "Support <help@example.com>". |
to * | One address or a list, e.g. "ana@example.com" or "Ana <ana@example.com>". Up to 50 addresses. | |
bcc | One address or a list, e.g. "ana@example.com" or "Ana <ana@example.com>". Up to 50 addresses. | |
cc | One address or a list, e.g. "ana@example.com" or "Ana <ana@example.com>". Up to 50 addresses. | |
htmlbody | string | HTML body. Give htmlbody or textbody, or both. |
idempotency_key | string | Sent as the Idempotency-Key header. The same key sends the email once. |
inreplyto | string | Message-ID this email replies to, e.g. <id@domain.com>. |
list_unsubscribe | string | List-Unsubscribe header value, e.g. <mailto:list@host.com?subject=unsubscribe>. |
references | string | Space-separated Message-IDs of the thread. |
replyto | string | Reply-To address. |
subject | string | Subject line. |
tags | Tags for filtering in MailPace. | |
textbody | string | Plain-text body. Give htmlbody or textbody, or both. |
mailpace_get_email_status Get an email's delivery status
Get the delivery status of an email sent with mailpace_send_email: queued, delivered, deferred, bounced or spam, with the bounce or deferral reason. Needs the domain id that sent it and the email id. Uses the organization token when set, else the domain token, unless via says otherwise. GET /api/v1/domains/{domain_id}/emails/{id}.
| Parameter | Type | Description |
|---|---|---|
domain_id * | integer | The domain that sent the email. |
email_id * | integer | The email id returned by mailpace_send_email. |
via | string | Token to use. Default: organization when set, else domain. Use domain when the organization token cannot see the email. |
mailpace_list_domains List sending domains
List the sending domains of the organization, with DKIM and advanced verification flags. Good first call: its ids feed the other domain and status tools. GET /api/v1/domains.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction (default desc). |
limit | integer | Results per page (default 50, max 200). |
offset | integer | Results to skip (default 0). |
sort | string | Sort field (default created_at). |
mailpace_get_domain Get a sending domain
Get one sending domain by id, with its DKIM settings and verification flags. GET /api/v1/domains/{id}.
| Parameter | Type | Description |
|---|---|---|
domain_id * | integer | The numeric id (from mailpace_list_domains). |
mailpace_create_domain Create a sending domain
Create a sending domain for the organization. Give the lower-case domain name, for example example.com. The reply includes the DKIM selector and key to publish in DNS. Then run mailpace_verify_domain. POST /api/v1/domains.
| Parameter | Type | Description |
|---|---|---|
url * | string | Lower-case domain with TLD, e.g. example.com. |
name | string | Friendly label for your reference. |
mailpace_update_domain Update a sending domain
Rename a sending domain or change its URL. Give at least one of name or url. PATCH /api/v1/domains/{id}.
| Parameter | Type | Description |
|---|---|---|
domain_id * | integer | The numeric id (from mailpace_list_domains). |
name | string | New friendly label. |
url | string | New lower-case domain name. |
mailpace_verify_domain Verify a domain's DNS records
Check the DKIM and advanced verification DNS records of a sending domain. Returns the flags and the vendor's error for each record still missing. Safe to repeat. POST /api/v1/domains/{id}/verify.
| Parameter | Type | Description |
|---|---|---|
domain_id * | integer | The numeric id (from mailpace_list_domains). |