> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Openmart: Lookup Business Email

> Find shared company mailboxes such as info@, support@ or sales@ for known company domains. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Find shared company mailboxes such as info@, support@ or sales@ for known company domains.

> [!NOTE]
>
> Tool ID: `openmart_lookup_business_email`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'openmart_lookup_business_email',
  {
    "tasks": [
      {
        "domain": "example.com",
        "company_name": "Example Corp"
      }
    ]
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute openmart_lookup_business_email --input '{
  "tasks": [
    {
      "domain": "example.com",
      "company_name": "Example Corp"
    }
  ]
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "batch_id": "batch_123",
    "status": {
      "processing": 123,
      "completed": 123,
      "errored": 123,
      "total": 123,
      "batch_ready": true
    }
  }
}
```

Use `deepline describe openmart_lookup_business_email --json` for the latest machine-readable contract.

## Input reference

Submit async tasks to discover shared company mailboxes for known domains.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.tasks` | `array` | Yes | — | Minimum items: 1. Maximum items: 100. |
| `payload.wait_for_completion` | `boolean` | No | `true` | When true or omitted, wait for the Openmart batch to finish and return completed task results. Set false to return only the async launcher response. |
| `payload.poll_interval_ms` | `integer` | No | `5000` | Polling interval used while wait\_for\_completion is true. Defaults to 5000 ms. Minimum: 250. Maximum: 30000. |
| `payload.max_wait_ms` | `integer` | No | `30000` | Maximum time to wait for terminal Openmart batch results. Defaults to 30000 ms. larger values are clamped to the Deepline async sync-wait ceiling. Minimum: 1000. Maximum: 600000. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Submit async tasks to discover shared company mailboxes for known domains.",
    "properties": {
      "tasks": {
        "type": "array",
        "minItems": 1,
        "maxItems": 100,
        "items": {
          "type": "object",
          "properties": {
            "domain": {
              "type": "string"
            },
            "company_name": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "tracking_id": {
              "type": "string"
            },
            "notify_url": {
              "type": "string"
            }
          },
          "required": [
            "domain",
            "company_name"
          ],
          "additionalProperties": false
        }
      },
      "wait_for_completion": {
        "type": "boolean",
        "description": "When true or omitted, wait for the Openmart batch to finish and return completed task results. Set false to return only the async launcher response.",
        "default": true
      },
      "poll_interval_ms": {
        "type": "integer",
        "description": "Polling interval used while wait_for_completion is true. Defaults to 5000 ms.",
        "default": 5000,
        "minimum": 250,
        "maximum": 30000
      },
      "max_wait_ms": {
        "type": "integer",
        "description": "Maximum time to wait for terminal Openmart batch results. Defaults to 30000 ms; larger values are clamped to the Deepline async sync-wait ceiling.",
        "default": 30000,
        "minimum": 1000,
        "maximum": 600000
      }
    },
    "required": [
      "tasks"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.batch_id` | `string` | Yes | — | — |
| `result.data.submit_for` | `string` | No | — | — |
| `result.data.status` | `object` | Yes | — | — |
| `result.data.status.processing` | `integer` | Yes | — | — |
| `result.data.status.completed` | `integer` | Yes | — | — |
| `result.data.status.errored` | `integer` | Yes | — | — |
| `result.data.status.total` | `integer` | Yes | — | — |
| `result.data.status.batch_ready` | `boolean` | Yes | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "batch_id": {
            "type": "string"
          },
          "submit_for": {
            "type": "string"
          },
          "status": {
            "type": "object",
            "properties": {
              "processing": {
                "type": "integer"
              },
              "completed": {
                "type": "integer"
              },
              "errored": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              },
              "batch_ready": {
                "type": "boolean"
              }
            },
            "required": [
              "processing",
              "completed",
              "errored",
              "total",
              "batch_ready"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "batch_id",
          "status"
        ],
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `1.26` per pricing unit.

## Related documentation

* [Openmart provider guide](https://deepline.com/docs/providers/openmart/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.