Communication

Elastic Email MCP

Send transactional and bulk email, manage sending domains and suppressions, and read delivery events and templates through Elastic Email's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add contact to suppression list

    Use to prevent up to 1,000 known addresses from receiving mail for a specified suppression reason; do not use it to delete contacts or remove a suppression. Returns the API result. It changes delivery eligibility for the supplied addresses. Use the reason that matches the event. If the list is empty, exceeds 1,000 entries, or the API rejects an address, correct it and retry.

  • Add domain

    Use to add a new sending domain to the account; do not use it to verify DNS records or change the default sender. Returns the API v5 agent envelope: data contains the created domain and next_steps[].dns_record contains DNS records to publish, with actor showing who performs each step. It writes the domain configuration but does not publish DNS records. If creation is refused, correct the returned blockers and retry. The domain is not usable until the required DNS records are published and VerifyDomain succeeds.

  • Delete domain

    Use to delete one configured domain; do not use it to change the default sender or remove contacts. Returns the API v5 agent envelope with the deletion result in data and permanently removes the domain configuration. If the name is unknown or deletion is refused, use GetDomains, resolve the returned blockers, and retry.

  • Delete suppression

    Use to remove one address from the suppression list after a person has approved it; do not use it to delete the contact. Returns the API v5 envelope unchanged and permanently changes delivery eligibility. The confirmation records the caller's assertion of human approval; it is not independently verified. If approval has not been obtained, inspect the suppression and resolve the required human decision first.

  • Fetch template

    Use to retrieve the full definition of a known template; do not use it to list or create templates. Returns the template definition and has no side effects. If the name is empty or absent, use FetchTemplates to obtain an exact name, then retry.

  • Fetch templates

    Use to list available templates by scope and optional editor type; do not use it to retrieve one template's full content. Returns matching template records and has no side effects. Provide at least one scope; correct invalid filters or resolve the returned API error and retry.

  • Get domain

    Use to inspect one configured domain by name; do not use it to list all domains or verify DNS. Returns the API v5 agent envelope, with the domain in data and any required DNS work in next_steps. It has no side effects. If the name is unknown, use GetDomains, then retry with its exact name.

  • Get domains

    Use to list domains configured for the account; do not use it to inspect or verify one known domain. Returns the API v5 agent envelope: data contains the domain records, page states whether more results exist, and next_steps gives the next page operation. It has no side effects. If the request is refused, resolve the returned blockers and retry.

  • Get email event history

    Use to inspect retained delivery and engagement events for one sent message ID; do not use it to send, edit, or search email messages. Returns the message event history and EventHorizon retention state, and has no side effects. If no events are available yet, retry shortly; if EventHorizon.HistoryComplete is false, the message log partition has expired.

  • Get email events

    Use to list delivery and engagement events for emails on the account; do not use it to inspect rendered message content or send email. Returns the API v5 envelope, including TransactionId and MessageId, and has no side effects. Filter by event type and UTC time range. If no records match, correct the filters or retry with a broader range.

  • Get sent emails

    Use to list sent-email events in an optional UTC time range; do not use it to inspect a message body or send email. Returns the API v5 envelope containing matching sent events and has no side effects. If the request fails, correct the range or resolve the returned API error and retry.

  • Get sent emails by transaction id

    Use to retrieve send events for one transaction ID; do not use it to search by recipient or inspect a message body. Returns the API v5 envelope containing matching events and has no side effects. If the transaction ID is unknown, obtain it from a send result or GetSentEmails and retry.

  • Get suppression list

    Use to list existing contact suppressions; do not use it to inspect, add or remove one. Returns the API v5 envelope unchanged: page states whether more results exist and how to request them. It has no side effects. To decide whether a suppression may be removed, inspect that recipient instead. If the request fails, resolve the API error and retry.

  • Is ready

    Use to check whether this MCP server can reach the Elastic Email API; do not use it to validate credentials, send email, or inspect account data. Returns healthy, an API connectivity status, or not healthy. It has no side effects; retry after resolving the reported service or network issue.

  • Send bulk emails

    Use to send one bulk email to a recipient list; do not use it when each recipient needs an individual transactional message. Returns the API send result. It sends externally and requires at least one recipient plus content or a usable template. If the sender, recipients, or template cannot be resolved, correct the reported input and retry.

  • Send transactional email

    Use to send a transactional email, especially when recipients should receive separate messages; do not use it for a campaign. Returns the API send result. It sends externally. With multiple recipients it asks whether to split the send when elicitation is supported; otherwise it sends one email addressed to all recipients. Requires a recipient and content or a usable template. If sender resolution, template lookup, or multi-recipient confirmation fails, correct the input or retry with one recipient.

  • Set domain as default

    Use to set the account's default sender address; do not use it to add or verify a domain. Returns the API v5 agent envelope, with the updated domain in data and any remaining DNS work in next_steps. It changes the account default sender and requires a full email address at a verified domain, for example sender@yourdomain.com; a bare domain name is rejected. If the address is invalid or its domain is unverified, correct it and retry.

  • Verify domain

    Use to verify a domain after publishing the DNS records returned by AddDomain; do not use it before the records are publicly resolvable or to add a domain. Returns the API v5 agent envelope: data contains the domain, blockers identify records that still fail, and next_steps says what to do next. It has no side effects: it checks DNS and does not publish records for you. Choose the tracking protocol that matches the available certificate. If records are missing, publish or correct them, wait for DNS propagation, and retry.

  • View email

    Use to inspect the rendered content of one sent email by MsgID; do not use it to send, edit, or search emails. Returns the email, including its body. It has no side effects. Use the MsgID returned by SendTransactionalEmail or GetSentEmails; if it is missing or not found, obtain a valid ID and retry.