Mailmodo MCP by usefulapi

v1.2.1
io.usefulapi/mailmodo Checked 3 days ago Published 1 day ago

Read campaigns and lists; manage list members, record events and unsubscribe contacts in Mailmodo.

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

mailmodo_list_templates List email templates

List the email templates in the account (id, name). GET /api/v1/getAllTemplates.

mailmodo_list_campaigns List campaigns

List the campaigns in the account (id, name, type, status). Use the id with mailmodo_get_campaign_report or mailmodo_trigger_campaign. GET /api/v1/campaigns.

mailmodo_get_campaign_report Get campaign report

Get sent, delivered, opens, clicks, bounces, complaints and unsubscribes for one campaign over a date range. POST /api/v1/campaignReports/{campaignId}.

ParameterTypeDescription
campaign_id *stringCampaign id (see mailmodo_list_campaigns).
from_date *stringDate as yyyy-mm-dd.
to_date *stringDate as yyyy-mm-dd.

mailmodo_list_contact_lists List contact lists

List the contact lists with their id, name, creation date and contact count. GET /api/v1/getAllContactLists.

mailmodo_get_contact Get contact details

Get one contact by email: its properties, the lists it is on and its subscription state. GET /api/v1/getContactDetails?email=.

ParameterTypeDescription
email *stringContact email address.

mailmodo_add_contact_to_list Add contact to list

Add a contact to a contact list, or update it if it exists, with optional personalisation fields. POST /api/v1/addToList.

ParameterTypeDescription
email *stringContact email address.
list_name *stringContact list name (see mailmodo_list_contact_lists).
created_atstringISO 8601 date or UNIX timestamp.
dataobjectPersonalisation fields as key-value pairs, e.g. {"firstName": "John"}.
last_clickstringISO 8601 date or UNIX timestamp.
last_openstringISO 8601 date or UNIX timestamp.
timezonestringIANA timezone, e.g. America/New_York.

mailmodo_add_contacts_to_list_bulk Add many contacts to list

Add several contacts to one contact list in one call. Each item needs an email; the other fields are optional. POST /api/v1/addToList/batch.

ParameterTypeDescription
contacts *arrayContacts to add. Each item needs an email.
list_name *stringContact list name (see mailmodo_list_contact_lists).

mailmodo_remove_contact_from_list Remove contact from list

Remove a contact from one contact list. The contact itself is kept. POST /api/v1/removeFromList.

ParameterTypeDescription
email *stringContact email address.
list_name *stringContact list name (see mailmodo_list_contact_lists).

mailmodo_unsubscribe_contact Unsubscribe contact

Mark a contact as unsubscribed so it gets no more campaign email. POST /api/v1/contacts/unsubscribe.

ParameterTypeDescription
email *stringContact email address.

mailmodo_add_event Record contact event

Record a custom event for a contact (for example signed_up or purchased). Events can start Mailmodo journeys. POST /api/v1/addEvent.

ParameterTypeDescription
email *stringContact email address.
event_name *stringEvent name, e.g. purchased.
event_propertiesobjectPersonalisation fields as key-value pairs, e.g. {"firstName": "John"}.
tsintegerUNIX timestamp in seconds. Default: now.

mailmodo_trigger_campaign Send one triggered email

Send one email from a REST-API-triggered campaign to one recipient. The campaign must be enabled. Sends a real email. POST /api/v1/triggerCampaign/{campaignId}.

ParameterTypeDescription
campaign_id *stringCampaign id (see mailmodo_list_campaigns).
email *stringRecipient email address.
add_to_liststringAdd the recipient to this list too.
campaign_dataobject
dataobjectPersonalisation fields. Values must be strings, e.g. {"firstName": "John"}.
from_namestring
reply_tostring
subjectstringOverrides the campaign subject. Optional.