Enginemailer MCP by usefulapi

v1.20.1
io.usefulapi/enginemailer Checked 2 days ago Published 1 day ago

Read Enginemailer subscribers, lists and campaigns; add subscribers, create and send campaigns.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

enginemailer_get_subscriber Get subscriber

One subscriber by email: id, status and all custom field values. GET /restapi/subscriber/emsubscriber/getSubscriber.

ParameterTypeDescription
email *stringAn email address (max 128 characters).

enginemailer_list_subscriber_categories List subscriber categories

The subscriber category tree: each category with its subcategories (ids, names). Use the subcategory ids when adding or updating subscribers and when assigning campaign recipients. GET /restapi/subscriber/emsubscriber/getSubCategory.

ParameterTypeDescription
include_active_subscriber_countbooleanAlso return active subscriber counts (only for accounts the vendor has enabled this for).

enginemailer_list_custom_fields List custom fields

The subscriber custom field definitions (key, name, type). Use the keys when adding or updating subscribers. GET /restapi/subscriber/emsubscriber/getCustomField.

enginemailer_add_subscriber Add subscriber

WRITE: add a subscriber to the account (optionally into subcategories, with custom field values). Only add people who consented to marketing email. Free accounts may insert 50 subscribers a day, paid accounts 10,000. POST /restapi/subscriber/emsubscriber/insertSubscriber.

ParameterTypeDescription
email *stringAn email address (max 128 characters).
custom_fieldsarrayCustom field values to set.
source_typestringWhere the subscriber came from, e.g. 'Signup from website' (max 256).
subcategory_idsarraySubcategory (list/segment) ids from enginemailer_list_subscriber_categories.

enginemailer_update_subscriber Update subscriber

WRITE: change an existing subscriber's subcategories and/or custom fields. subcategories_mode: append (default), remove (drop the given subcategories) or replace (the given list becomes the full list). custom_fields_mode: update_given (change only the given fields) or replace_all (default; fields not given are cleared). POST /restapi/subscriber/emsubscriber/updateSubscriber.

ParameterTypeDescription
email *stringAn email address (max 128 characters).
custom_fieldsarrayCustom field values to set.
custom_fields_modestringupdate_given changes only the listed fields; replace_all (the vendor default) clears the others.
subcategories_modestringHow subcategory_ids apply (default append).
subcategory_idsarraySubcategory (list/segment) ids from enginemailer_list_subscriber_categories.

enginemailer_unsubscribe_subscriber Unsubscribe subscriber

WRITE: unsubscribe a subscriber so they no longer receive campaigns. Reversing it needs the subscriber to opt in again in Enginemailer. GET /restapi/subscriber/emsubscriber/unSubSubscriber.

ParameterTypeDescription
email *stringAn email address (max 128 characters).

enginemailer_save_subscriber_category Create or update subscriber category

WRITE: create a subscriber category (category_id 0) or update one (its id), with subcategories (subcategory_id 0 creates one). Names and descriptions max 128 characters. POST /restapi/subscriber/emsubscriber/updateCategory.

ParameterTypeDescription
category_id *integer0 to create a new category, else the existing category id.
name *string
descriptionstring
is_visiblebooleanVisible to subscribers (default true).
subcategoriesarray

enginemailer_list_campaigns List undelivered campaigns

List campaigns that have NOT been delivered yet (drafts and scheduled ones): id, name, subject, sender and schedule. Delivered campaigns are not listed by the API; use enginemailer_get_campaign_stats with a known id. Needs a paid account. GET /restapi/campaign/emcampaign/ListCampaign.

enginemailer_get_campaign_stats Get campaign delivery stats

Delivery results of a DELIVERED campaign: emails sent, delivered, bounces, opens, unique opens, clicks, unique clicks, unsubscribes, spam complaints. Needs a paid account. GET /restapi/campaign/emcampaign/getcampaigndeliverystatus.

ParameterTypeDescription
campaign_id *integerCampaign id.

enginemailer_list_campaign_categories List campaign categories

The categories that campaign recipients can be filtered by (id, name, description). Needs a paid account. GET /restapi/campaign/emcampaign/GetCategoryList.

enginemailer_list_campaign_subcategories List campaign subcategories

The subcategories of one campaign category (id, name, description); use these ids in enginemailer_assign_campaign_recipients. Needs a paid account. GET /restapi/campaign/emcampaign/GetSubCategoryList.

ParameterTypeDescription
category_id *integerCategory id from enginemailer_list_campaign_categories.

enginemailer_create_campaign Create campaign (draft)

WRITE: create a campaign DRAFT. Nothing is sent: assign recipients with enginemailer_assign_campaign_recipients, then send with enginemailer_send_campaign. The sender domain must be verified in Enginemailer; max 200 campaigns per account. Needs a paid account. POST /restapi/Campaign/EMCampaign/CreateCampaign.

ParameterTypeDescription
content_html *stringThe email body, HTML (max 256 KB).
name *stringInternal campaign name.
sender_email *stringSender address on a verified domain.
sender_name *string
subject *string
reply_tostringAn email address (max 128 characters).

enginemailer_assign_campaign_recipients Assign campaign recipients

WRITE: set who a campaign will go to: all subscribers, or the subscribers in the given subcategory ids (match_type any = OR, all = AND). Does not send anything. Needs a paid account. POST /restapi/campaign/emcampaign/AssignRecipientList.

ParameterTypeDescription
audience *string
campaign_id *integerCampaign id.
match_typestringany = subscribers in at least one subcategory (OR, default); all = in every one (AND).
subcategory_idsarrayRequired when audience is subcategories.

enginemailer_send_campaign Send campaign NOW

WRITE, SENDS EMAIL TO CUSTOMERS NOW and cannot be undone: delivers the campaign to its assigned recipients immediately. The campaign needs at least one recipient and must not be scheduled or already delivered. Show the user the campaign and its audience and get their go-ahead first; set confirm to true only then. Needs a paid account. GET /restapi/campaign/emcampaign/SendCampaign.

ParameterTypeDescription
campaign_id *integerCampaign id.
confirm *booleanMust be true: the user has approved sending this campaign to its recipients now.

enginemailer_send_transactional_email Send transactional email

WRITE, SENDS ONE EMAIL NOW and cannot be undone: submits a transactional email to one recipient (plus optional CC/BCC). Needs a sender address on a verified domain; give either subject + content_html, or a template_id from the Enginemailer portal (the template supplies subject and sender name). Total message incl. attachments max 5 MB. Confirm the recipient and text with the user first; set confirm to true only then. POST /RESTAPI/V2/Submission/SendEmail.

ParameterTypeDescription
confirm *booleanMust be true: the user has approved sending this email now.
sender_email *stringSender address on a verified domain (must match the template's sender when template_id is used).
to_email *stringAn email address (max 128 characters).
bccarray
campaign_namestringLabel for reports.
ccarray
content_htmlstringEmail body (HTML). Not needed with template_id.
sender_namestring
subjectstring
substitution_tagsarrayMerge tags. Values must not contain { } [ ].
template_idstringStored template id from the Enginemailer portal.

enginemailer_start_transactional_report_export Start transactional report export

Start a CSV export of the transactional email delivery report for a period (start date at most 60 days back). Returns an export id; poll it with enginemailer_check_transactional_report_export. Creates a report file only; nothing is sent. POST /RESTAPI/V2/Submission/Report/Export.

ParameterTypeDescription
period *stringDate range exactly like '1 Sep 2026 - 16 Sep 2026'.
domain_filterstringDomain filter, sent as the vendor's DomainFilter (the sender domain in the vendor's report), e.g. example.com.
email_to_filterstringOnly emails sent to this recipient.

enginemailer_check_transactional_report_export Check transactional report export

Status of a report export (Processing or Complete); when complete it includes the CSV download URL. POST /RESTAPI/V2/Submission/Report/CheckExport (read-only).

ParameterTypeDescription
export_id *integerExportID from enginemailer_start_transactional_report_export.