30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Pro Save WordPress Email Template

mailerpress-pro/save-wordpress-email-template attaches a MailerPress campaign as the template for a specific WordPress transactional email type — new user, password reset and the rest.

The status decides which of three behaviours applies.

At a glance

Abilitymailerpress-pro/save-wordpress-email-template
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › WordPress Emails
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Pro 0.9.16 and later

Custom, default, disabled

custom renders the named campaign in place of WordPress’s own email. That is the branding use, and it is the reason this exists.

default falls back to WordPress’s own template, which is how you undo an override without deleting the configuration.

disabled suppresses the email entirely. It is the state to use deliberately and almost never on an authentication email: a suppressed password reset means the request succeeds, no email arrives, and the user is locked out with no explanation.

A campaign used as a transactional template needs the right personalisation tokens for that email type — a password reset with no reset link is a working email that achieves nothing, and it will not error.

So send a test after saving. mailerpress-pro/send-test-wordpress-email renders the configured template and actually delivers it, which is the only real check.

Not idempotent in the sense that saving is a state change, though re-saving the same configuration is harmless.

Input

NameTypeRequiredWhat it is
typestringYesThe WordPress email type, for example new-user or password-reset.
campaign_idintegerFor customThe campaign to render as the template.
statusstringNocustom to enable, default to fall back, disabled to suppress.

What comes back

NameTypeWhat it is
typestringThe email type.
statusstringIts state afterwards.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Use our branded template for the password reset email.

It resolves to one call:

{
  "ability": "mailerpress-pro/save-wordpress-email-template",
  "parameters": {
    "type": "password-reset",
    "campaign_id": 18,
    "status": "custom"
  }
}

Worth knowing

  • A campaign missing the reset link is a working email that locks people out.
  • disabled on an authentication email is almost always wrong.
  • default undoes an override without losing the configuration.
  • Always send a test afterwards.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading