# Zapier — MailSlurp Email Plugin Integrations
> zapier.com/apps/mailslurp-email-plugin/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
MailSlurp is an API to generate test email accounts for sending and receiving real emails in tests.

- App slug: mailslurp-email-plugin
- Operations published here: 7 (4 events, 3 functions)

## Authentication
Zapier connects to MailSlurp Email Plugin 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 mailslurp-email-plugin
```

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

### Getting Started
- **MCP**: connect MailSlurp Email Plugin 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`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "mailslurp-email-plugin",
  actionType: "write",
  action: "contact",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action mailslurp-email-plugin write contact \
  --inputs '{}'
```

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

### Events (4)

Events fire when something happens in MailSlurp Email Plugin. Use them to start a run.

#### New Attachment
Triggers when a new email attachment is received.

- Type: read · Key: `attachment`
- Requires: nothing
- Optional: inboxIds
- SDK: `runAction({ app: "mailslurp-email-plugin", actionType: "read", action: "attachment" })`
- CLI: `npx zapier-sdk run-action mailslurp-email-plugin read attachment`

#### New Contact
Triggers when a new contact is send in received emails.

- Type: read · Key: `contact`
- Requires: nothing
- Optional: containsEmailAddress
- SDK: `runAction({ app: "mailslurp-email-plugin", actionType: "read", action: "contact" })`
- CLI: `npx zapier-sdk run-action mailslurp-email-plugin read contact`

#### New Email
Triggers when a new email is received.

- Type: read · Key: `email`
- Requires: nothing
- Optional: containsFrom, containsRecipients
- SDK: `runAction({ app: "mailslurp-email-plugin", actionType: "read", action: "email" })`
- CLI: `npx zapier-sdk run-action mailslurp-email-plugin read email`

#### New Inbox
Triggers when a new inbox is created.

- Type: read · Key: `inbox`
- Requires: nothing
- Optional: containsDomain
- SDK: `runAction({ app: "mailslurp-email-plugin", actionType: "read", action: "inbox" })`
- CLI: `npx zapier-sdk run-action mailslurp-email-plugin read inbox`

### Functions (3)

Functions change something in MailSlurp Email Plugin.

#### Create Contact
Create a new email address

- Type: write · Key: `contact`
- Requires: emailAddresses
- Optional: firstName, lastName, company
- SDK: `runAction({ app: "mailslurp-email-plugin", actionType: "write", action: "contact" })`
- CLI: `npx zapier-sdk run-action mailslurp-email-plugin write contact`

#### Send Email
Send a new email from a MailSlurp inbox. Create an inbox first if one does not exist.

- Type: write · Key: `email`
- Requires: inboxId, to
- Optional: cc, bcc, subject, body, attachments
- SDK: `runAction({ app: "mailslurp-email-plugin", actionType: "write", action: "email" })`
- CLI: `npx zapier-sdk run-action mailslurp-email-plugin write email`

#### Create Inbox
Create a new email address

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

## Popular integrations
- [MailSlurp Email Plugin + Quiltt](zapier.com/apps/mailslurp-email-plugin/integrations/quiltt.md)
- [MailSlurp Email Plugin + YouTube](zapier.com/apps/mailslurp-email-plugin/integrations/youtube.md)
- [MailSlurp Email Plugin + Nutcache](zapier.com/apps/mailslurp-email-plugin/integrations/nutcache.md)

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