Volver al catálogo

Elastic Email MCP

elasticemail_mcp

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

Acciones
19
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (19)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add contact to suppression listELASTICEMAIL_MCP_ADD_CONTACT_TO_SUPPRESSION_LISTAcción

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.

Parámetros de entrada

  • typestringObligatorioenum

    Reason to suppress every supplied address. Allowed values: Bounced: delivery failed; Unsubscribed: recipient opted out; Complained: recipient reported spam or abuse.

    BouncedUnsubscribedComplained
  • emailsstring[]Obligatorio

    Email addresses to suppress, with a maximum of 1,000 addresses per request.

Parámetros de salida

Sin parámetros.

Add domainELASTICEMAIL_MCP_ADD_DOMAINAcción

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.

Parámetros de entrada

  • domainRequestobjectObligatorio

    The domain to add, and whether it should become the default sending domain.

Parámetros de salida

Sin parámetros.

Delete domainELASTICEMAIL_MCP_DELETE_DOMAINAcción

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.

Parámetros de entrada

  • domainstringObligatorio

    Name of the domain to delete, e.g. yourdomain.com. Use GetDomains to list them.

Parámetros de salida

Sin parámetros.

Delete suppressionELASTICEMAIL_MCP_DELETE_SUPPRESSIONAcción

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.

Parámetros de entrada

  • emailstringObligatorio

    Email address to remove from the suppression list. Use GetSuppressionList or the API inspection endpoint to confirm its reason first.

  • humanApprovedbooleanObligatorio

    Set to true only after a person approved removal for this recipient. This confirms the caller's decision; it is not independently verified.

Parámetros de salida

Sin parámetros.

Fetch templateELASTICEMAIL_MCP_FETCH_TEMPLATEAcción

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.

Parámetros de entrada

  • namestringObligatorio

    Exact name of the template. Use FetchTemplates to list the names on this account.

Parámetros de salida

Sin parámetros.

Fetch templatesELASTICEMAIL_MCP_FETCH_TEMPLATESAcción

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.

Parámetros de entrada

  • scopesstring[]Obligatorio

    Which template scopes to list. Allowed values: Personal: this account's own templates; Global: templates shared across accounts.

  • templateTypesarray | null

    Optional filter on template type. Allowed values: RawHTML: editable HTML; DragDropEditor: drag-and-drop editor; TemplateEditor: block-based editor. Defaults to all three types.

Parámetros de salida

Sin parámetros.

Get domainELASTICEMAIL_MCP_GET_DOMAINAcción

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.

Parámetros de entrada

  • domainstringObligatorio

    Name of the domain, e.g. yourdomain.com. Use GetDomains to list them.

Parámetros de salida

Sin parámetros.

Get domainsELASTICEMAIL_MCP_GET_DOMAINSAcción

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.

Parámetros de entrada

  • limitinteger

    Maximum number of domains to return. Use the page data and next_steps to request every page.

  • offsetinteger

    Number of domains to skip. Start at 0, then use the offset in the page.next operation.

Parámetros de salida

Sin parámetros.

Get email event historyELASTICEMAIL_MCP_GET_EMAIL_EVENT_HISTORYAcción

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.

Parámetros de entrada

  • msgIdstringObligatorio

    Msg ID, as returned by SendTransactionalEmail or GetEmailEvents.

Parámetros de salida

Sin parámetros.

Get email eventsELASTICEMAIL_MCP_GET_EMAIL_EVENTSAcción

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.

Parámetros de entrada

  • tostring | nulldate-time

    End of the range, inclusive. Converted to UTC before the query is made.

  • fromstring | nulldate-time

    Start of the range, inclusive. Converted to UTC before the query is made.

  • limitinteger | null

    Maximum event records to return, from 1 to 1000. Omit for the API default.

  • offsetinteger

    Number of matching event records to skip before returning results.

  • orderBystringenum

    Sort order for event timestamps.

    DateDescendingDateAscending
  • eventTypesarray | null

    Optional event types to include. Omit to return every available event type.

Parámetros de salida

Sin parámetros.

Get sent emailsELASTICEMAIL_MCP_GET_SENT_EMAILSAcción

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.

Parámetros de entrada

  • tostring | nulldate-time

    End of the range, inclusive. Converted to UTC before the query is made.

  • fromstring | nulldate-time

    Start of the range, inclusive. Converted to UTC before the query is made.

Parámetros de salida

Sin parámetros.

Get sent emails by transaction idELASTICEMAIL_MCP_GET_SENT_EMAILS_BY_TRANSACTION_IDAcción

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.

Parámetros de entrada

  • tostring | nulldate-time

    End of the range, inclusive. Converted to UTC before the query is made.

  • fromstring | nulldate-time

    Start of the range, inclusive. Converted to UTC before the query is made.

  • limitinteger | null

    Maximum event records to return. Omit for the API default.

  • offsetinteger

    Number of matching event records to skip before returning results.

  • transactionIdstringObligatorio

    Transaction ID returned when the email was sent.

Parámetros de salida

Sin parámetros.

Get suppression listELASTICEMAIL_MCP_GET_SUPPRESSION_LISTAcción

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.

Parámetros de entrada

  • limitinteger

    Maximum number of suppressions to return. Use the page data to request every page.

  • offsetinteger

    Number of suppressions to skip. Start at 0, then use the next page offset.

Parámetros de salida

Sin parámetros.

Is readyELASTICEMAIL_MCP_IS_READYAcción

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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Send bulk emailsELASTICEMAIL_MCP_SEND_BULK_EMAILSAcción

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.

Parámetros de entrada

  • emailDataobjectObligatorio

    Bulk email definition. Provide at least one To recipient and content or TemplateName; From falls back to the account default sender when available. Use Cc only when requested.

Parámetros de salida

Sin parámetros.

Send transactional emailELASTICEMAIL_MCP_SEND_TRANSACTIONAL_EMAILAcción

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.

Parámetros de entrada

  • dataobjectObligatorio

    Transactional email definition. Provide at least one To recipient and content or TemplateName; From falls back to the account default sender when available. Use Cc only when requested.

Parámetros de salida

Sin parámetros.

Set domain as defaultELASTICEMAIL_MCP_SET_DOMAIN_AS_DEFAULTAcción

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.

Parámetros de entrada

  • emailstringObligatorio

    Email address to become the default sender, e.g. sender@yourdomain.com. Its domain must already be verified on this Account - use GetDomains to list them.

Parámetros de salida

Sin parámetros.

Verify domainELASTICEMAIL_MCP_VERIFY_DOMAINAcción

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.

Parámetros de entrada

  • domainstringObligatorio

    Name of the domain to verify, e.g. yourdomain.com. Use GetDomains to list them.

  • trackingTypestringenum

    Link-tracking protocol to verify. Allowed values: Http: unencrypted links; ExternalHttps: customer-supplied certificate; ManagedCertificateHttps: Elastic Email-managed certificate; LetsEncryptHttps: Let's Encrypt certificate.

    HttpExternalHttpsManagedCertificateHttpsLetsEncryptHttps

Parámetros de salida

Sin parámetros.

View emailELASTICEMAIL_MCP_VIEW_EMAILAcción

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.

Parámetros de entrada

  • msgIdstringObligatorio

    MsgID of the sent email, as returned by SendTransactionalEmail or GetSentEmails.

Parámetros de salida

Sin parámetros.