Mailjet MCP by usefulapi

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

Read 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.

ParameterTypeDescription
LimitintegerRows to return (Mailjet default 10).
OffsetintegerRows 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}.

ParameterTypeDescription
list_id *integerContact 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.

ParameterTypeDescription
LimitintegerRows to return (Mailjet default 10).
OffsetintegerRows 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}.

ParameterTypeDescription
contact *stringContact 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.

ParameterTypeDescription
Email *stringEmail address of the new contact.
IsExcludedFromCampaignsbooleanExclude this contact from campaigns.
NamestringName 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.

ParameterTypeDescription
contact_id *integerNumeric contact id (from mailjet_list_contacts or mailjet_get_contact).
list_id *integerContact list id to add the contact to.
actionstringaddnoforce (default), addforce, or remove.

mailjet_list_campaigns List campaigns

List email campaigns with their status and send counts. Mailjet API: GET /v3/REST/campaign.

ParameterTypeDescription
LimitintegerRows to return (Mailjet default 10).
OffsetintegerRows 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.

ParameterTypeDescription
LimitintegerRows to return (Mailjet default 10).
OffsetintegerRows 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}.

ParameterTypeDescription
message_id *integerMessage 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.

ParameterTypeDescription
LimitintegerRows to return (Mailjet default 10).
OffsetintegerRows 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.

ParameterTypeDescription
from *objectFrom address. It must be a validated sender in the account.
subject *stringSubject line.
to *arrayRecipients.
custom_idstringYour own id for this message, returned in the result.
html_bodystringHTML body. Give this, the plain-text body, or both.
text_bodystringPlain-text body. Give this, the HTML body, or both.