MailPace MCP by usefulapi

v1.2.1
io.usefulapi/mailpace Checked 3 days ago Published 1 day ago

Send 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.

ParameterTypeDescription
from *stringSender 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.
bccOne address or a list, e.g. "ana@example.com" or "Ana <ana@example.com>". Up to 50 addresses.
ccOne address or a list, e.g. "ana@example.com" or "Ana <ana@example.com>". Up to 50 addresses.
htmlbodystringHTML body. Give htmlbody or textbody, or both.
idempotency_keystringSent as the Idempotency-Key header. The same key sends the email once.
inreplytostringMessage-ID this email replies to, e.g. <id@domain.com>.
list_unsubscribestringList-Unsubscribe header value, e.g. <mailto:list@host.com?subject=unsubscribe>.
referencesstringSpace-separated Message-IDs of the thread.
replytostringReply-To address.
subjectstringSubject line.
tagsTags for filtering in MailPace.
textbodystringPlain-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}.

ParameterTypeDescription
domain_id *integerThe domain that sent the email.
email_id *integerThe email id returned by mailpace_send_email.
viastringToken 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.

ParameterTypeDescription
directionstringSort direction (default desc).
limitintegerResults per page (default 50, max 200).
offsetintegerResults to skip (default 0).
sortstringSort 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}.

ParameterTypeDescription
domain_id *integerThe 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.

ParameterTypeDescription
url *stringLower-case domain with TLD, e.g. example.com.
namestringFriendly 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}.

ParameterTypeDescription
domain_id *integerThe numeric id (from mailpace_list_domains).
namestringNew friendly label.
urlstringNew 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.

ParameterTypeDescription
domain_id *integerThe numeric id (from mailpace_list_domains).