Mailjet MCP by usefulapi
v1.2.1Read contacts, lists, campaigns and messages; add contacts and send email in Mailjet.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mailjet_list_contact_lists List contact lists
List contact lists (audiences) with their subscriber counts. Good first call to find a list id. Mailjet API: GET /v3/REST/contactslist.
| Parameter | Type | Description |
|---|---|---|
Limit | integer | Rows to return (Mailjet default 10). |
Offset | integer | Rows to skip, for paging. |
mailjet_get_contact_list Get a contact list
Get one contact list by id. Mailjet API: GET /v3/REST/contactslist/{id}.
| Parameter | Type | Description |
|---|---|---|
list_id * | integer | Contact list id (from mailjet_list_contact_lists). |
mailjet_list_contacts List contacts
List contacts (email recipients) in the account. Mailjet API: GET /v3/REST/contact.
| Parameter | Type | Description |
|---|---|---|
Limit | integer | Rows to return (Mailjet default 10). |
Offset | integer | Rows to skip, for paging. |
mailjet_get_contact Get a contact
Get one contact by numeric id or email address. Mailjet API: GET /v3/REST/contact/{id or email}.
| Parameter | Type | Description |
|---|---|---|
contact * | string | Contact id or email address. |
mailjet_create_contact Create a contact
Create a contact (an email recipient) in the account. It does not add the contact to a list. Mailjet API: POST /v3/REST/contact.
| Parameter | Type | Description |
|---|---|---|
Email * | string | Email address of the new contact. |
IsExcludedFromCampaigns | boolean | Exclude this contact from campaigns. |
Name | string | Name of the contact. |
mailjet_add_contact_to_list Add a contact to a list
Add a contact to a contact list. 'addnoforce' does not re-subscribe a contact who unsubscribed; 'addforce' does. Mailjet API: POST /v3/REST/contact/{id}/managecontactslists.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Numeric contact id (from mailjet_list_contacts or mailjet_get_contact). |
list_id * | integer | Contact list id to add the contact to. |
action | string | addnoforce (default), addforce, or remove. |
mailjet_list_campaigns List campaigns
List email campaigns with their status and send counts. Mailjet API: GET /v3/REST/campaign.
| Parameter | Type | Description |
|---|---|---|
Limit | integer | Rows to return (Mailjet default 10). |
Offset | integer | Rows to skip, for paging. |
mailjet_list_messages List sent messages
List messages sent through the account with their delivery status. Mailjet API: GET /v3/REST/message.
| Parameter | Type | Description |
|---|---|---|
Limit | integer | Rows to return (Mailjet default 10). |
Offset | integer | Rows to skip, for paging. |
mailjet_get_message Get a sent message
Get one sent message by id, with its delivery details. Mailjet API: GET /v3/REST/message/{id}.
| Parameter | Type | Description |
|---|---|---|
message_id * | integer | Message id (from mailjet_list_messages). |
mailjet_list_senders List senders
List sender addresses in the account with their validation status. Use one of these as the From address for mailjet_send_email. Mailjet API: GET /v3/REST/sender.
| Parameter | Type | Description |
|---|---|---|
Limit | integer | Rows to return (Mailjet default 10). |
Offset | integer | Rows to skip, for paging. |
mailjet_send_email Send an email
Send one transactional email now to the given recipients. This delivers real mail and cannot be undone. The From address must be a validated sender. Mailjet API: POST /v3.1/send.
| Parameter | Type | Description |
|---|---|---|
from * | object | From address. It must be a validated sender in the account. |
subject * | string | Subject line. |
to * | array | Recipients. |
custom_id | string | Your own id for this message, returned in the result. |
html_body | string | HTML body. Give this, the plain-text body, or both. |
text_body | string | Plain-text body. Give this, the HTML body, or both. |