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

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action xbuild write create_project \
  --inputs '{}'
```

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

## XBuild

### Identity
XBuild is a construction platform that helps contractors manage projects, files and site photos.

- App slug: xbuild
- Operations published here: 12 (8 events, 2 functions, 1 query, 1 search-or-write action)

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

### Capabilities

#### Events (8)

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

##### New Project
Triggers when a project is created, whether from the app, the API or a connector.

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

##### Proposal Approved
Triggers when an insurance carrier approves an estimate.

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

##### Proposal Funded
Triggers when a proposal is funded, meaning its deposit has been collected.

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

##### Proposal Published
Triggers when a proposal is published.

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

##### Proposal Sent
Triggers when a proposal is sent to the homeowner.

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

##### Proposal Signed
Triggers when a proposal is signed.

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

##### Proposal Submitted
Triggers when an insurance estimate is submitted to the carrier.

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

##### Proposal Viewed
Triggers when a homeowner first opens a version of your proposal, once per version rather than once per view.

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

#### Functions (2)

Functions change something in XBuild.

##### Create Project
Creates a new project from an inbound lead.

- Type: write · Key: `create_project`
- Requires: nothing
- Optional: external_id, name, contact_name, contact_email, contact_phone, street1, street2, city, state, zip, description, files
- SDK: `runAction({ app: "xbuild", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action xbuild write create_project`

##### Upload File to Project
Uploads files or photos to an existing project.

- Type: write · Key: `upload_file_to_project`
- Requires: project_id, files
- SDK: `runAction({ app: "xbuild", actionType: "write", action: "upload_file_to_project" })`
- CLI: `npx zapier-sdk run-action xbuild write upload_file_to_project`

#### Queries (1)

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

##### Find Project
Finds an existing project by its external ID.

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

#### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Project
Finds a project by External ID, creating one if it does not exist yet.

- Type: search_or_write · Key: `find_project`
- Requires: external_id
- Optional: name, contact_name, contact_email, contact_phone, street1, street2, city, state, zip, description, files
- SDK: `runAction({ app: "xbuild", actionType: "search_or_write", action: "find_project" })`
- CLI: `npx zapier-sdk run-action xbuild search_or_write find_project`

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

### 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
- Email by Zapier integrations: zapier.com/apps/email/integrations.md
- XBuild integrations: zapier.com/apps/xbuild/integrations.md
- Full page: zapier.com/apps/email/integrations/xbuild
- SDK: npmjs.com/package/@zapier/zapier-sdk