# Attach + Email by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/attach/integrations/email
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Attach and Email by Zapier 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 · outbound`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action email write outbound \
  --inputs '{}'
```

## Attach

### Identity
Attach is a sales engagement tool that lets you manage, track and control the sales collateral you share.

- App slug: attach
- Operations published here: 5 (3 events, 2 functions)

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

### Capabilities

#### Events (3)

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

##### Visit Closed
Triggers when a visit to a document is closed or ended.

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

##### New Document
Triggers when a new document is uploaded.

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

##### New Visit
Triggers when a document receives a new visit.

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

#### Functions (2)

Functions change something in Attach.

##### Create Document
Creates a new document.

- Type: write · Key: `create_document`
- Requires: url, name, fileName
- Optional: description
- SDK: `runAction({ app: "attach", actionType: "write", action: "create_document" })`
- CLI: `npx zapier-sdk run-action attach write create_document`

##### Create Link
Creates a new link related to a document of your choice.

- Type: write · Key: `new_link`
- Requires: documentId, name, captureFields
- Optional: company
- SDK: `runAction({ app: "attach", actionType: "write", action: "new_link" })`
- CLI: `npx zapier-sdk run-action attach write new_link`

## Email by Zapier

### Identity
Send and receive email via a custom Zapier email address at "zapiermail.com". This is great for triggering off of emails and sending custom emails. (Max of 10 email sends per hour.)

Have direct access to your own email servers? Check out our IMAP and SMTP services!

- App slug: email
- Operations published here: 3 (2 events, 1 function)

### Capabilities

#### Events (2)

Events fire when something happens in Email by Zapier. Use them to start a run.

##### New Inbound Email
Triggers when an email is forwarded to your own custom  zapiermail.com  address.

- Type: read · Key: `inbound_v2`
- Requires: nothing
- Optional: account_wide_copy, account_wide
- SDK: `runAction({ app: "email", actionType: "read", action: "inbound_v2" })`
- CLI: `npx zapier-sdk run-action email read inbound_v2`

##### New Read Receipt
Triggers when an email that you've enabled read receipts on via our  Send Outbound Email  trigger is opened.

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

#### Functions (1)

Functions change something in Email by Zapier.

##### Send Outbound Email
Send up to 5 emails per day on Free or Trial Zapier plans, or up to 10 emails per hour on paid Zapier plans from a custom  zapiermail.com  address.

- Type: write · Key: `outbound`
- Requires: to, subject, body
- Optional: zap_id, free_test_limitation, file, from_name, reply_to, cc, bcc, force_linebreaks, open_tracking
- SDK: `runAction({ app: "email", actionType: "write", action: "outbound" })`
- CLI: `npx zapier-sdk run-action email write outbound`

## Frequently asked questions about automating with Attach and Email by Zapier

### What is 'Attach' in the context of Email by Zapier?

'Attach' refers to the function within Email by Zapier that allows you to include a file attachment in your emails. This feature can be used in various Zaps, where attaching files to emails is required.

### How can I set up a trigger when an email is received with a specific subject line in Gmail?

You can use the 'New Email Matching Search' trigger in the Gmail app within Zapier, which allows you to specify a particular search string, such as a subject line, that must be present for the trigger to fire.

### Is it possible to send automated follow-up emails with attachments using Zapier?

Yes, you can automate follow-up emails with attachments by setting up a series of Zaps. First, create a Zap that triggers on an event (like receiving an email), and then use 'Attach' in Email by Zapier within an Action step to send your follow-up email with the necessary file attached.

### What types of files can I attach using Email by Zapier's Attach feature?

The Attach feature supports commonly used file formats such as PDFs, images (.jpg, .png), Word documents (.docx), and Excel spreadsheets (.xlsx). Make sure your file size complies with our limitations on file size.

### Does integrating Attach with Email by Zapier support conditional logic for sending attachments?

We support basic conditional logic through filters and paths in Zapier. You can set conditions to determine whether an attachment should be sent based on data from previous steps or external data sources.

### Can I track if recipients have opened or interacted with an emailed attachment using this integration?

Unfortunately, as of now, we do not offer direct tracking capabilities for interactions with attachments through Email by Zapier. You might consider integrating other third-party tools that specialize in tracking email interactions for more detailed insights.

### How do I troubleshoot if my attached files are not being sent via Email by Zapier?

First, ensure that your Zaps are turned on and check if the attachment format and size comply with our requirements. Review error logs provided under 'Zap History,' and confirm that all paths leading up to sending the email executed as expected without filters blocking them.

## Links
- Attach integrations: zapier.com/apps/attach/integrations.md
- Email by Zapier integrations: zapier.com/apps/email/integrations.md
- Full page: zapier.com/apps/attach/integrations/email
- SDK: npmjs.com/package/@zapier/zapier-sdk