Mail Blaze MCP by usefulapi

v1.20.1
io.usefulapi/mailblaze Checked 3 days ago Published 2 days ago

Manage Mail Blaze lists, subscribers, templates, campaigns and reports; send transactional email.

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

mailblaze_list_lists List mailing lists

List the account's mailing lists (name, uid, subscriber counts, defaults). Use the list uid in the other tools. Paged: page + per_page.

ParameterTypeDescription
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).
per_pageintegerLists per page (default set by Mail Blaze).

mailblaze_get_list Get a mailing list

Get one mailing list by its uid: general settings, default sender, company details and counts.

ParameterTypeDescription
list_uid *stringList uid from mailblaze_list_lists.

mailblaze_list_list_fields List a list's custom fields

List the fields of a mailing list (label, tag, type, required). The tags (EMAIL, FNAME, LNAME, custom ones) are the keys used when adding or updating subscribers.

ParameterTypeDescription
list_uid *string
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).

mailblaze_list_segments List a list's segments

List the segments defined on a mailing list (uid, name). A segment uid can be used when creating a campaign.

ParameterTypeDescription
list_uid *string
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).

mailblaze_list_subscribers List subscribers

List the subscribers of a mailing list (sets of 10 per page; use page to go on). Contains personal data (emails, names).

ParameterTypeDescription
list_uid *string
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).

mailblaze_get_subscriber Get a subscriber

Get one subscriber of a list by subscriber uid (status, fields, dates).

ParameterTypeDescription
list_uid *string
subscriber_uid *stringSubscriber uid from mailblaze_list_subscribers or mailblaze_find_subscriber_by_email.

mailblaze_find_subscriber_by_email Find a subscriber by email

Look up a subscriber in one list by email address. Returns the subscriber (with its uid) or a not-found error.

ParameterTypeDescription
email *string
list_uid *string

mailblaze_add_subscriber Add a subscriber

WRITE, MAY SEND A CONFIRMATION EMAIL: add one subscriber to a mailing list. Depending on the list's settings Mail Blaze may send the person a confirmation (double opt-in) email. Only add people who agreed to receive your email. An email that is already on the list answers with a conflict error.

ParameterTypeDescription
email *string
list_uid *string
custom_fieldsobjectCustom field values keyed by the field's tag (see mailblaze_list_list_fields), e.g. {"PHONE": "+1 555 0100"}.
first_namestringSets the FNAME field.
last_namestringSets the LNAME field.

mailblaze_add_subscribers_bulk Add or update subscribers in bulk

WRITE, MAY SEND CONFIRMATION EMAILS: add up to 100 subscribers to a mailing list in one request; an email already on the list is updated instead. Depending on the list's settings Mail Blaze may send confirmation emails. Only add people who agreed to receive your email.

ParameterTypeDescription
list_uid *string
subscribers *array1 to 100 subscribers.

mailblaze_update_subscriber Update a subscriber

WRITE: update a subscriber's name or custom fields. Pass the subscriber's current email (Mail Blaze requires it) plus only the values to change. Does not change subscription status.

ParameterTypeDescription
email *stringThe subscriber's email (Mail Blaze requires it on update).
list_uid *string
subscriber_uid *string
custom_fieldsobjectCustom field values keyed by the field's tag (see mailblaze_list_list_fields), e.g. {"PHONE": "+1 555 0100"}.
first_namestring
last_namestring

mailblaze_unsubscribe_subscriber Unsubscribe a subscriber

WRITE: set a subscriber's status to unsubscribed so they receive no more campaigns from this list. By default Mail Blaze also adds the address to the account's local blacklist. Do this only when the person asked to stop (or a data-protection request requires it). The subscriber record is kept.

ParameterTypeDescription
list_uid *string
subscriber_uid *string

mailblaze_resubscribe_subscriber Resubscribe a subscriber

WRITE: set a previously unsubscribed subscriber back to subscribed so campaigns reach them again. Only do this when the person asked to be re-added (consent).

ParameterTypeDescription
list_uid *string
subscriber_uid *string

mailblaze_list_templates List email templates

List the account's email templates (uid, name). A template uid is needed to create a campaign.

ParameterTypeDescription
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).

mailblaze_get_template Get an email template

Get one email template by uid (name and content).

ParameterTypeDescription
template_uid *string

mailblaze_create_template Create an email template

WRITE: create an email template from HTML (the tool base64-encodes it). Mail Blaze requires the HTML to contain an unsubscribe link. Sends nothing.

ParameterTypeDescription
html *stringThe full HTML of the email, including an unsubscribe link.
name *string

mailblaze_list_campaigns List campaigns

List the account's email campaigns (uid, name, status, dates). Use the campaign uid for details and reports.

ParameterTypeDescription
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).

mailblaze_get_campaign Get a campaign

Get one campaign by uid: sender, subject, list, template, status and schedule.

ParameterTypeDescription
campaign_uid *string

mailblaze_create_campaign Create and schedule a campaign

WRITE, SENDS EMAIL TO PEOPLE: create a campaign for a mailing list (or one of its segments) from an existing template and schedule it for send_at. Once it goes out it reaches every subscriber of the list or segment, may use sending credit and cannot be recalled. Confirm the list, segment, subject, template and send time with the user before calling. Needs a template uid (mailblaze_list_templates) and a list uid (mailblaze_list_lists).

ParameterTypeDescription
from_email *stringSender address; it must be a verified sender in Mail Blaze.
from_name *string
list_uid *string
name *stringInternal campaign name.
reply_to *string
send_at *stringWhen to send, 'YYYY-MM-DD HH:MM:SS' (interpreted by Mail Blaze in the account's time zone).
subject *string
template_uid *string
segment_uidstringSend only to this segment of the list.

mailblaze_get_campaign_summaries Get campaign report summaries

Bulk report summary (sent, opens, clicks, bounces, unsubscribes) for up to 50 campaigns in one call. Read-only (it is a POST in the API only because of the id list).

ParameterTypeDescription
campaign_uids *array1 to 50 campaign uids.

mailblaze_get_campaign_inbox_breakdown Get a campaign's inbox breakdown

Inbox-provider breakdown (e.g. Gmail, Outlook, Yahoo) of a campaign's delivery.

ParameterTypeDescription
campaign_uid *string

mailblaze_list_campaign_events List a campaign's opens, clicks, bounces or unsubscribes

List the individual events of a campaign by kind: opens, clicks, bounces or unsubscribes. Cursor-paged: pass the reply's next_cursor back until it is null. For very large campaigns Mail Blaze answers 202 with a job_id; check it with mailblaze_get_report_job.

ParameterTypeDescription
campaign_uid *string
kind *string
cursorstringThe next_cursor from the previous reply, passed back exactly as returned. Omit for the first page.
limitintegerEvents per page (default 100, max 1000).

mailblaze_get_subscriber_activity Get a subscriber's activity

Email activity (sends, opens, clicks, bounces) of one subscriber by email address, optionally limited to one list. Cursor-paged.

ParameterTypeDescription
email *string
cursorstringThe next_cursor from the previous reply, passed back exactly as returned. Omit for the first page.
limitintegerEvents per page (default 100, max 1000).
list_uidstring

mailblaze_get_report_job Get a report job's status

Status (and result when finished) of an asynchronous report job, as returned in a 202 reply with a job_id.

ParameterTypeDescription
job_id *string

mailblaze_list_transactional_emails List transactional emails

List the transactional emails sent through the account (uid, recipient, subject, status). Paged.

ParameterTypeDescription
pageintegerPage number, starting at 1 (results come in sets of 10; keep going until a page comes back empty).

mailblaze_get_transactional_email Get a transactional email

Get one transactional email by uid: recipient, subject, status and timestamps.

ParameterTypeDescription
email_uid *string

mailblaze_send_transactional_email Send a transactional email

WRITE, SENDS ONE EMAIL NOW: send a single one-to-one email to one recipient through Mail Blaze. It leaves immediately, uses sending credit and cannot be recalled. Give either html (the body) or template_id (a transactional template, with merge_tags covering every tag in it), not both. Confirm the recipient and content with the user before calling. Not for bulk or marketing mail; use a campaign for that.

ParameterTypeDescription
from_email *stringSender address; it must be a verified sender in Mail Blaze.
from_name *stringSender name (required by Mail Blaze).
subject *string
to_email *string
to_name *stringRecipient name (required by Mail Blaze).
htmlstringHTML body (the tool base64-encodes it). Omit when using template_id.
merge_tagsobjectTemplate merge tags (required with template_id); every tag in the template must be present.
reply_to_emailstring
reply_to_namestring
template_idstringTransactional template id. Omit when sending html.