# Zapier — mailXpert Integrations
> zapier.com/apps/mailxpert/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## 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

## Identity
mailXpert is a leading E-Mail-Marketing Solution based in Switzerland.

- App slug: mailxpert
- Operations published here: 11 (4 events, 6 functions, 1 query)

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

- Auth type: oauth
- 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 mailxpert
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/mailxpert/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect mailXpert through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action mailxpert write contact_add_to_flow \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing mailXpert's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "mailxpert" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions mailxpert --page-size 50 --max-items 200 --json
```

### Events (4)

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

#### Contact Unsubscribed
Triggers when a contact is unsubscribed.

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

#### Contact Created/Updated
Triggers when a new contact is created or updated.

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

#### Email Link Opened
Triggers when an link is opened.

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

#### Email Opened
Triggers when an email is opened.

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

### Functions (6)

Functions change something in mailXpert.

#### Add Contact to an Automation Flow
Add contact to an automation Flow.

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

#### Subscribe a Contact
Subscribes a contact with a double opt-in process according to the contact list settings.

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

#### Unsubscribe a Contact
Unsubscribes a contact.

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

#### Create (And Subscribe)/Update a Contact
Creates or updates a contact. If a matching contact is found then it will be updated, otherwise a new contact with being subscribed (no double opt in) will be created in the selected contact list.

- Type: write · Key: `create_contact`
- Requires: email
- Optional: firstname, lastname, language, polite_form, title, company, address, address2, address2, zip, city, country, phone, birthday
- SDK: `runAction({ app: "mailxpert", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action mailxpert write create_contact`

#### Create (Double-Opt-In)/Update a Contact
Creates or updates a contact. If a matching contact is found then it will be updated, otherwise a new contact without being directly subscribed (double opt in enabled) will be created in the selected contact list.

- Type: write · Key: `create_contact_double_opt_in`
- Requires: email
- Optional: firstname, lastname, language, polite_form, title, company, address, address2, address2, zip, city, country, phone, birthday
- SDK: `runAction({ app: "mailxpert", actionType: "write", action: "create_contact_double_opt_in" })`
- CLI: `npx zapier-sdk run-action mailxpert write create_contact_double_opt_in`

#### Create/Update a Contact and Add It to a Flow
Creates or updates a contact. If a matching contact is found then it will be updated, otherwise a new contact will be created in the selected contact list. The affected Contact will be added to the selected automation Flow.

- Type: write · Key: `create_contact_flow`
- Requires: email
- Optional: firstname, lastname, language, polite_form, title, company, address, address2, address2, zip, city, country, phone, birthday
- SDK: `runAction({ app: "mailxpert", actionType: "write", action: "create_contact_flow" })`
- CLI: `npx zapier-sdk run-action mailxpert write create_contact_flow`

### Queries (1)

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

#### Find a Contact
Find a contact from the email address and contact list.

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

## Popular integrations
- [mailXpert + HubSpot](zapier.com/apps/mailxpert/integrations/hubspot.md)
- [mailXpert + Magento 2.X](zapier.com/apps/mailxpert/integrations/magento-v2.md)
- [mailXpert + Google Docs](zapier.com/apps/mailxpert/integrations/google-docs.md)
- [mailXpert + Redtail CRM](zapier.com/apps/mailxpert/integrations/redtailcrm.md)
- [mailXpert + Facebook Lead Ads](zapier.com/apps/mailxpert/integrations/facebook-lead-ads.md)
- [mailXpert + Salesforce](zapier.com/apps/mailxpert/integrations/salesforce.md)
- [mailXpert + Facebook Pages](zapier.com/apps/mailxpert/integrations/facebook-pages.md)
- [mailXpert + Ontraport](zapier.com/apps/mailxpert/integrations/ontraport.md)
- [mailXpert + Elastic Email](zapier.com/apps/mailxpert/integrations/elasticemail.md)
- [mailXpert + Eventable](zapier.com/apps/mailxpert/integrations/eventable.md)

## Links
- Full app page: zapier.com/apps/mailxpert/integrations
- MCP: zapier.com/mcp/mailxpert
- SDK: npmjs.com/package/@zapier/zapier-sdk