---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

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

Integrate PayPal 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `paypal` and `smtp`, then `enable_zapier_action`. If PayPal or SMTP by Zapier isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Send Email is enabled, call `smtp_by_zapier_send_email`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "smtp",
  actionType: "write",
  action: "outbound",
  connection: connection.id,
  inputs: {
    from_email: "",
    to: "",
    subject: "",
    body: "",
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action smtp write outbound \
  --inputs '{"from_email":"","to":"","subject":"","body":""}'
```

## PayPal

### Identity
PayPal is a fast, safe way to send money, make an online payment, receive money or set up a merchant account. With over 150 million active registered accounts, PayPal helps people and businesses receive and make payments in more than 100 currencies in 203 markets.

- App slug: paypal
- Operations published here: 20 (9 events, 3 functions, 8 queries)

### Authentication
Zapier connects to PayPal 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 paypal
```

### Capabilities

#### Events (9)

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

##### Billing Plan Webhooks
Triggers when a billing plan event occurs.

- Type: read · Key: `billing_plan_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_billing_plan_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "billing_plan_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read billing_plan_webhooks`

##### Billing Subscription Webhooks
Triggers when a billing subscription event occurs.

- Type: read · Key: `billing_subscription_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_billing_subscription_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "billing_subscription_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read billing_subscription_webhooks`

##### Canceled Recurring Payment Webhooks
Triggers when a recurring payment subscription is canceled.

- Type: read · Key: `canceled_recurring_payment_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_canceled_recurring_payment_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "canceled_recurring_payment_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read canceled_recurring_payment_webhooks`

##### Failed Payment Webhooks
Triggers when a payment fails, is denied, or is declined.

- Type: read · Key: `failed_payment_webhooks`
- Requires: nothing
- Optional: docs_copy
- MCP tool: `paypal_failed_payment_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "failed_payment_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read failed_payment_webhooks`

##### New Invoice
Triggers when a new invoice is created.

- Type: read · Key: `invoice`
- Requires: nothing
- Optional: docs_copy
- MCP tool: `paypal_new_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "invoice" })`
- CLI: `npx zapier-sdk run-action paypal read invoice`

##### Payment Capture Webhooks
Triggers when a payment capture event occurs.

- Type: read · Key: `payment_capture_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_payment_capture_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "payment_capture_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read payment_capture_webhooks`

##### Payment Refund Webhooks
Triggers when a payment refund event occurs.

- Type: read · Key: `payment_refund_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_payment_refund_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "payment_refund_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read payment_refund_webhooks`

##### Payment Sale Webhooks
Triggers when a payment sale event occurs.

- Type: read · Key: `payment_sale_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_payment_sale_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "payment_sale_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read payment_sale_webhooks`

##### Recurring Payment Webhooks
Triggers when a recurring subscription payment is completed.

- Type: read · Key: `recurring_payment_webhooks`
- Requires: nothing
- Optional: docs_copy
- MCP tool: `paypal_recurring_payment_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "recurring_payment_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read recurring_payment_webhooks`

#### Functions (3)

Functions change something in PayPal.

##### Create Invoice
Create a new draft invoice in PayPal.

- Type: write · Key: `create_invoice`
- Requires: item_name, item_quantity, item_unit_amount
- Optional: invoice_number, reference, currency_code, invoice_date, due_date, payment_term_type, note, terms_and_conditions, memo, invoicer_business_name, invoicer_given_name, invoicer_surname, invoicer_email, invoicer_phone_country_code, invoicer_phone_number, invoicer_phone_type, invoicer_website, invoicer_tax_id, invoicer_logo_url, invoicer_additional_notes, invoicer_address_line_1, invoicer_address_line_2, invoicer_address_line_3, invoicer_city, invoicer_state, invoicer_postal_code, invoicer_country_code, recipient_business_name, recipient_given_name, recipient_surname, recipient_email, recipient_phone_country_code, recipient_phone_number, recipient_phone_type, recipient_additional_info, recipient_language, recipient_address_line_1, recipient_address_line_2, recipient_address_line_3, recipient_city, recipient_state, recipient_postal_code, recipient_country_code, shipping_business_name, shipping_given_name, shipping_surname, shipping_address_line_1, shipping_address_line_2, shipping_address_line_3, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, item_description, item_unit_of_measure, item_date, item_tax_name, item_tax_percent, item_tax_note, item_discount_type, item_discount_value, invoice_discount_type, invoice_discount_value, shipping_amount, shipping_tax_name, shipping_tax_percent, custom_label, custom_amount, allow_partial_payment, minimum_amount_due, allow_tip, tax_calculated_after_discount, tax_inclusive, template_id, additional_recipients
- MCP tool: `paypal_create_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action paypal write create_invoice`

##### Create Payment
Create a new payment order using PayPal Orders v2 API.

- Type: write · Key: `create_payment`
- Requires: amount
- Optional: currency_code, intent, description, reference_id, custom_id, invoice_id, payer_email, payer_given_name, payer_surname, item_name, item_quantity, item_sku, item_category, shipping_type, shipping_full_name, shipping_email, shipping_address_line_1, shipping_address_line_2, shipping_admin_area_1, shipping_admin_area_2, shipping_postal_code, shipping_country_code, return_url, cancel_url, brand_name, shipping_preference, user_action, soft_descriptor
- MCP tool: `paypal_create_payment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "write", action: "create_payment" })`
- CLI: `npx zapier-sdk run-action paypal write create_payment`

##### Send Invoice
Send an existing invoice to the recipient.

- Type: write · Key: `send_invoice`
- Requires: invoice_id
- Optional: send_to_recipient, send_to_invoicer, subject, note, additional_recipients
- MCP tool: `paypal_send_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "write", action: "send_invoice" })`
- CLI: `npx zapier-sdk run-action paypal write send_invoice`

#### Queries (8)

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

##### Search Authorized Payment
Search for an authorized payment by ID.

- Type: search · Key: `search_authorized_payment`
- Requires: authorization_id
- MCP tool: `paypal_search_authorized_payment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_authorized_payment" })`
- CLI: `npx zapier-sdk run-action paypal search search_authorized_payment`

##### Search Captured Payment
Search for a captured payment by ID.

- Type: search · Key: `search_captured_payment`
- Requires: capture_id
- MCP tool: `paypal_search_captured_payment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_captured_payment" })`
- CLI: `npx zapier-sdk run-action paypal search search_captured_payment`

##### Search Invoice
Search for an invoice by ID.

- Type: search · Key: `search_invoice`
- Requires: invoice_id
- MCP tool: `paypal_search_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_invoice" })`
- CLI: `npx zapier-sdk run-action paypal search search_invoice`

##### Search Order
Search for an order by ID.

- Type: search · Key: `search_order`
- Requires: order_id
- MCP tool: `paypal_search_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_order" })`
- CLI: `npx zapier-sdk run-action paypal search search_order`

##### Search Plan
Search for a plan by ID.

- Type: search · Key: `search_plan`
- Requires: plan_id
- MCP tool: `paypal_search_plan` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_plan" })`
- CLI: `npx zapier-sdk run-action paypal search search_plan`

##### Search Product
Search for a product by ID.

- Type: search · Key: `search_product`
- Requires: product_id
- MCP tool: `paypal_search_product` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_product" })`
- CLI: `npx zapier-sdk run-action paypal search search_product`

##### Search Refund
Search for a refund by ID.

- Type: search · Key: `search_refund`
- Requires: refund_id
- MCP tool: `paypal_search_refund` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_refund" })`
- CLI: `npx zapier-sdk run-action paypal search search_refund`

##### Search Billing Subscription
Search for a billing subscription by ID.

- Type: search · Key: `search_subscription`
- Requires: subscription_id
- MCP tool: `paypal_search_billing_subscription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "search", action: "search_subscription" })`
- CLI: `npx zapier-sdk run-action paypal search search_subscription`

## 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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
- MCP tool: `smtp_by_zapier_send_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smtp", actionType: "write", action: "outbound" })`
- CLI: `npx zapier-sdk run-action smtp write outbound`

## Frequently asked questions about automating with PayPal and SMTP by Zapier

### How do I initiate a Zap to send an email when a PayPal transaction occurs?

To initiate a Zap that sends an email when a PayPal transaction occurs, you first need to set up PayPal as the trigger app and select 'Successful Sale' or any other desired trigger. Then, choose SMTP by Zapier as the action app and configure your email details. Make sure your SMTP server settings are correctly entered.

### What types of PayPal transactions can trigger an SMTP email?

You can use various PayPal triggers such as 'Successful Sale', 'Refunded Sale', or 'Completed Checkout'. Each of these triggers can initiate an email action through SMTP once set up in your Zap.

### Is it possible to attach files to emails sent via SMTP by Zapier when using PayPal triggers?

Yes, it's possible to attach files. When setting up your action in SMTP by Zapier, you can include file attachments from previous steps if supported by the trigger data from PayPal.

### Can I customize the email content sent via SMTP after a PayPal payment is received?

Absolutely! With our Zap editor, you can customize the subject and body of the email using data from the PayPal transaction. This includes dynamic fields like payer's name, amount paid, and item purchased.

### Do I need technical knowledge to integrate PayPal with SMTP by Zapier?

No advanced technical knowledge is needed. Our user-friendly interface guides you through selecting triggers and setting actions like sending emails with minimal effort.

### How quickly will my recipient receive an email after a transaction is completed on PayPal?

The timing largely depends on internet speeds and server response times but typically after a successful setup, your recipients should get their emails within minutes of completing a transaction on PayPal.

### What should I do if the emails triggered by my Zaps aren't being delivered?

If emails aren't being delivered, check if there are errors in your Zap's setup or if there's an issue with your SMTP server settings. It's also good to verify recipient’s spam filters and ensure that server restrictions aren’t blocking outgoing messages.

### 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
- PayPal integrations: zapier.com/apps/paypal/integrations.md
- SMTP by Zapier integrations: zapier.com/apps/smtp/integrations.md
- Full page: zapier.com/apps/paypal/integrations/smtp
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk