# Mailjet + WHMCS Integrations: Connect with Zapier MCP
> zapier.com/apps/mailjet/integrations/whmcs
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Mailjet and WHMCS in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · addclient`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "whmcs", owner: "me" });

const { data } = await zapier.runAction({
  app: "whmcs",
  actionType: "write",
  action: "addclient",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action whmcs write addclient \
  --inputs '{}'
```

## Mailjet

### Identity
Mailjet is an all-in-one solution to send, track and deliver transactional, notification and marketing emails.  Engage, analyze and react with your client base through email. Get started by using the Mailjet zap to synchronise contacts from your favorite eCommerce, CRM or other SaaS  tools to your Mailjet contact lists. For users on API version 3 or higher.

- App slug: mailjet
- Operations published here: 14 (4 events, 8 functions, 2 queries)

### Authentication
Zapier connects to Mailjet via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection mailjet
```

### Capabilities

#### Events (4)

Events fire when something happens in Mailjet. Use them to start a run.

##### New Email Event
Triggers when an email event occurs (sent, opened, clicked, bounced, spam, blocked, unsub, etc.).

- Type: read · Key: `email_events`
- Requires: nothing
- Optional: ListID
- SDK: `runAction({ app: "mailjet", actionType: "read", action: "email_events" })`
- CLI: `npx zapier-sdk run-action mailjet read email_events`

##### New Parse API Inbound Email
Triggers when a new email is sent to your  Parse API  email address.

- Type: read · Key: `new_email`
- Requires: nothing
- SDK: `runAction({ app: "mailjet", actionType: "read", action: "new_email" })`
- CLI: `npx zapier-sdk run-action mailjet read new_email`

##### New Subscribe
Triggers when a contact subscribes in a Mailjet contact list.

- Type: read · Key: `subscribe`
- Requires: ListID
- SDK: `runAction({ app: "mailjet", actionType: "read", action: "subscribe" })`
- CLI: `npx zapier-sdk run-action mailjet read subscribe`

##### New Unsubscribe
Triggers when a user unsubscribes from a certain contact list.

- Type: read · Key: `unsubscribe`
- Requires: nothing
- Optional: ListID
- SDK: `runAction({ app: "mailjet", actionType: "read", action: "unsubscribe" })`
- CLI: `npx zapier-sdk run-action mailjet read unsubscribe`

#### Functions (8)

Functions change something in Mailjet.

##### Remove a Contact From a Contact List
Removes a contact from the specified Mailjet list. This does not delete the contact or unsubscribe them globally.

- Type: write · Key: `remove_contact_from_list`
- Requires: email, ListID
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "remove_contact_from_list" })`
- CLI: `npx zapier-sdk run-action mailjet write remove_contact_from_list`

##### Send HTML Email
Send an email through your Mailjet account with HTML content.

- Type: write · Key: `send_an_email_html_copy`
- Requires: FromEmail, To, Subject, Html
- Optional: FromName, ReplyTo, Cc, Bcc
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "send_an_email_html_copy" })`
- CLI: `npx zapier-sdk run-action mailjet write send_an_email_html_copy`

##### Send Plain Text Email
Send an email through your Mailjet account with plain text content.

- Type: write · Key: `send_an_email_text_copy`
- Requires: FromEmail, To, Subject, Text
- Optional: FromName, ReplyTo, Cc, Bcc
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "send_an_email_text_copy" })`
- CLI: `npx zapier-sdk run-action mailjet write send_an_email_text_copy`

##### Send an Email Campaign to a List
Send an email campaign to a full contact list.

- Type: write · Key: `send_campaign_to_list_v2`
- Requires: SenderEmail, SenderName, ListID, title, Subject, Html
- Optional: ReplyTo
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "send_campaign_to_list_v2" })`
- CLI: `npx zapier-sdk run-action mailjet write send_campaign_to_list_v2`

##### Send Email Using a Mailjet Template
Send an email through your Mailjet account using saved Mailjet email template. It can be customized with Contact Properties and Variables.

- Type: write · Key: `send_email_with_template_v2`
- Requires: FromEmail, To, template
- Optional: FromName, ReplyTo, Cc, Bcc, Subject, use_templating_language, template_variables, error_reporting_email, campaign
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "send_email_with_template_v2" })`
- CLI: `npx zapier-sdk run-action mailjet write send_email_with_template_v2`

##### Subscribe Contact to Mailjet List
Adds a new Contact to your Mailjet account and subscribes it to a specific Contact List.

- Type: write · Key: `subscribe_to_list`
- Requires: ListID, Addresses
- Optional: firstname, name, country, newsletter_sub
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "subscribe_to_list" })`
- CLI: `npx zapier-sdk run-action mailjet write subscribe_to_list`

##### Unsubscribe Contact From Mailjet List
Unsubscribes a contact from a specific Mailjet list.

- Type: write · Key: `unsubscribe_from_list`
- Requires: ListID, Email
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "unsubscribe_from_list" })`
- CLI: `npx zapier-sdk run-action mailjet write unsubscribe_from_list`

##### Update Contact Properties
Update a contact's properties.

- Type: write · Key: `update_contact_properties`
- Requires: email
- SDK: `runAction({ app: "mailjet", actionType: "write", action: "update_contact_properties" })`
- CLI: `npx zapier-sdk run-action mailjet write update_contact_properties`

#### Queries (2)

Queries read from Mailjet and return data. They change nothing.

##### Get Contact Properties by an Email Address
Retrieves Mailjet contact properties for the given email.

- Type: search · Key: `get_contact_properties`
- Requires: email
- Optional: properties_to_return
- SDK: `runAction({ app: "mailjet", actionType: "search", action: "get_contact_properties" })`
- CLI: `npx zapier-sdk run-action mailjet search get_contact_properties`

##### Get Contact Lists Subscribed by a User
Returns all Mailjet contact lists that the provided email address is currently subscribed to.

- Type: search · Key: `get_user_contact_lists`
- Requires: email
- SDK: `runAction({ app: "mailjet", actionType: "search", action: "get_user_contact_lists" })`
- CLI: `npx zapier-sdk run-action mailjet search get_user_contact_lists`

## WHMCS

### Identity
WHMCS is a complete client management package, supporting billing & support solutions for any online business.

- App slug: whmcs
- Operations published here: 4 (1 event, 3 functions)

### Authentication
Zapier connects to WHMCS via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection whmcs
```

### Capabilities

#### Events (1)

Events fire when something happens in WHMCS. Use them to start a run.

##### New Todo Item
Triggers whenever a new todo item.

- Type: read · Key: `todo`
- Requires: nothing
- Optional: status
- SDK: `runAction({ app: "whmcs", actionType: "read", action: "todo" })`
- CLI: `npx zapier-sdk run-action whmcs read todo`

#### Functions (3)

Functions change something in WHMCS.

##### Create Client
Creates a new client.

- Type: write · Key: `addclient`
- Requires: nothing
- Optional: firstname, lastname, companyname, email, address1, city, state, postcode, country, phonenumber, password2
- SDK: `runAction({ app: "whmcs", actionType: "write", action: "addclient" })`
- CLI: `npx zapier-sdk run-action whmcs write addclient`

##### Create Invoice
Creates a new invoice.

- Type: write · Key: `invoice`
- Requires: userid
- Optional: date, duedate, itemdescription1, itemamount1, itemtaxed1, taxrate, taxrate2, paymentmethod, autoapplycredit, notes, sendinvoice
- SDK: `runAction({ app: "whmcs", actionType: "write", action: "invoice" })`
- CLI: `npx zapier-sdk run-action whmcs write invoice`

##### Create Ticket
Creates a new ticket in WHMCS.

- Type: write · Key: `ticket`
- Requires: clientid, deptid, subject, message
- Optional: name, email, priority, noemail
- SDK: `runAction({ app: "whmcs", actionType: "write", action: "ticket" })`
- CLI: `npx zapier-sdk run-action whmcs write ticket`

## Frequently asked questions about automating with Mailjet and WHMCS

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Mailjet integrations: zapier.com/apps/mailjet/integrations.md
- WHMCS integrations: zapier.com/apps/whmcs/integrations.md
- Full page: zapier.com/apps/mailjet/integrations/whmcs
- SDK: npmjs.com/package/@zapier/zapier-sdk