Mailmodo MCP by usefulapi
v1.2.1Read 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}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id (see mailmodo_list_campaigns). |
from_date * | string | Date as yyyy-mm-dd. |
to_date * | string | Date 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=.
| Parameter | Type | Description |
|---|---|---|
email * | string | Contact 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.
| Parameter | Type | Description |
|---|---|---|
email * | string | Contact email address. |
list_name * | string | Contact list name (see mailmodo_list_contact_lists). |
created_at | string | ISO 8601 date or UNIX timestamp. |
data | object | Personalisation fields as key-value pairs, e.g. {"firstName": "John"}. |
last_click | string | ISO 8601 date or UNIX timestamp. |
last_open | string | ISO 8601 date or UNIX timestamp. |
timezone | string | IANA 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.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | Contacts to add. Each item needs an email. |
list_name * | string | Contact 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.
| Parameter | Type | Description |
|---|---|---|
email * | string | Contact email address. |
list_name * | string | Contact 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.
| Parameter | Type | Description |
|---|---|---|
email * | string | Contact 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.
| Parameter | Type | Description |
|---|---|---|
email * | string | Contact email address. |
event_name * | string | Event name, e.g. purchased. |
event_properties | object | Personalisation fields as key-value pairs, e.g. {"firstName": "John"}. |
ts | integer | UNIX 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}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id (see mailmodo_list_campaigns). |
email * | string | Recipient email address. |
add_to_list | string | Add the recipient to this list too. |
campaign_data | object | |
data | object | Personalisation fields. Values must be strings, e.g. {"firstName": "John"}. |
from_name | string | |
reply_to | string | |
subject | string | Overrides the campaign subject. Optional. |