# Clientary + SMTP by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/clientary/integrations/smtp
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Clientary and SMTP 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: "smtp", owner: "me" });

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

- **CLI**:

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

## Clientary

### Identity
Online invoicing and time tracking for small businesses and freelancers. Clientary helps you get paid quicker and painlessly helps you manage your staff and projects.

- App slug: clientary
- Operations published here: 16 (10 events, 6 functions)

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

### Capabilities

#### Events (10)

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

##### New Contact
An individual contact within Clientary.

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

##### New Expense
A new expense in Clientary.

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

##### New Lead
Triggered when a new lead is created in Clientary.

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

##### New Payment
Triggers when a new payment is added to your Clientary account.

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

##### New Project
Triggered when a new project is created in Clientary.

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

##### New Staff
Triggers when a new staff member is added!

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

##### New Task
Triggers when a new task is added to your Clientary account.

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

##### New Invoice
A new invoice is created in Clientary.

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

##### New Client
Triggered when a new client is created in Clientary.

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

##### New Estimate
Triggered when a new estimate is created in Clientary.

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

#### Functions (6)

Functions change something in Clientary.

##### Client
Create a new client in Clientary.

- Type: write · Key: `action_13`
- Requires: client__name
- Optional: client__number, client__website, client__description, client__country, client__address, client__address_2, client__city, client__state, client__zip
- SDK: `runAction({ app: "clientary", actionType: "write", action: "action_13" })`
- CLI: `npx zapier-sdk run-action clientary write action_13`

##### Expense
Create a new expense in Clientary.

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

##### Create Estimate
Creates an Estimate in Clientary.

- Type: write · Key: `create_estimate`
- Requires: estimate__currency_code, price, quantity, title
- Optional: estimate__client_id, taxable, estimate__title, estimate__note
- SDK: `runAction({ app: "clientary", actionType: "write", action: "create_estimate" })`
- CLI: `npx zapier-sdk run-action clientary write create_estimate`

##### Create Invoice
Creates an Invoice in Clientary.

- Type: write · Key: `create_invoice`
- Requires: invoice__currency_code, invoice__due_date, invoice__date, invoice__invoice_item_attributes__price, invoice__invoice_item_attributes__quantity, invoice__invoice_item_attributes__title
- Optional: invoice__client_id, invoice__invoice_item_attributes__taxable
- SDK: `runAction({ app: "clientary", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action clientary write create_invoice`

##### Create Lead
Create a new lead in Clientary.

- Type: write · Key: `create_lead`
- Requires: lead__name, lead__users_attributes__0__name
- Optional: lead__users_attributes__0__email, lead__users_attributes__0__phone, lead__lead_value
- SDK: `runAction({ app: "clientary", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action clientary write create_lead`

##### Create Task
Create a task inside Clientary.

- Type: write · Key: `create_task`
- Requires: task__title
- Optional: task__complete, task__assignee_id, task__project_id
- SDK: `runAction({ app: "clientary", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action clientary write create_task`

## SMTP by Zapier

### Identity
SMTP stands for Simple Mail Transfer Protocol, which is an Internet standard for email transmission available in Microsoft, Google and Yahoo! products among millions of mail servers worldwide.

Check our IMAP service as well!

- App slug: smtp
- Operations published here: 1 (1 function)

### Authentication
Zapier connects to SMTP by Zapier 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 smtp
```

### Capabilities

#### Functions (1)

Functions change something in SMTP by Zapier.

##### Send Email
Sends a plaintext email from a specific SMTP server.

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

## Links
- Clientary integrations: zapier.com/apps/clientary/integrations.md
- SMTP by Zapier integrations: zapier.com/apps/smtp/integrations.md
- Full page: zapier.com/apps/clientary/integrations/smtp
- SDK: npmjs.com/package/@zapier/zapier-sdk