# Zapier — anymail Integrations
> zapier.com/apps/anymail/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
anymail is an email platform for outreach and offers. It sends sequences from your own mailboxes and shows which companies are warming up.

- App slug: anymail
- Operations published here: 15 (12 events, 3 functions)

## Authentication
Zapier connects to anymail 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 anymail
```

## 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/anymail/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect anymail 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 · add_suppression`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action anymail write add_suppression \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing anymail'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: "anymail" }).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 anymail --page-size 50 --max-items 200 --json
```

### Events (12)

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

#### Email Bounced
Triggers when a message to a prospect bounces.

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

#### Campaign Completed
Triggers when a campaign ends.

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

#### Campaign Paused
Triggers when a campaign is paused, by a person or automatically.

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

#### Email Opened
Triggers when a tracked message is opened. Apple Mail loads the pixel without a person, so treat it as a weak signal.

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

#### Link Clicked
Triggers when a prospect clicks a tracked link.

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

#### New Reply
Triggers when a prospect replies. Fires before the reply is classified.

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

#### New Prospect
Triggers when a prospect is created, in the app, by an import or through the API.

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

#### Auto-Reply Received
Triggers when a reply is recognised as an autoresponder, such as an out of office message.

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

#### Prospect Interested
Triggers when a reply is classified as interested, by the classifier or by a person.

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

#### Prospect Maybe Later
Triggers when a reply is classified as neutral (maybe later).

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

#### Prospect Not Interested
Triggers when a reply is classified as not interested.

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

#### Prospect Unsubscribed
Triggers when a prospect uses the one-click unsubscribe link.

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

### Functions (3)

Functions change something in anymail.

#### Add to Suppression List
Stops anymail from ever emailing an address or a whole domain.

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

#### Add Prospect to Campaign
Adds an existing prospect to a campaign by email. The result says if it was enrolled, already there or suppressed.

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

#### Create or Update Prospect
Creates a prospect, or updates the one with the same email. Can also add it to a campaign.

- Type: write · Key: `upsert_prospect`
- Requires: email
- Optional: first_name, last_name, company_name, timezone, custom_fields, campaign_id
- SDK: `runAction({ app: "anymail", actionType: "write", action: "upsert_prospect" })`
- CLI: `npx zapier-sdk run-action anymail write upsert_prospect`

## Popular integrations
- [anymail + Airtable](zapier.com/apps/anymail/integrations/airtable.md)
- [anymail + ActiveCampaign](zapier.com/apps/anymail/integrations/activecampaign.md)

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