---
title: "openemail tools"
description: "Every command in this namespace, with its arguments, flags and examples."
url: "https://openemail.uk/docs/cli/reference/tools"
area: "CLI"
category: "Reference"
---

# openemail tools

Every command in this namespace, with its arguments, flags and examples.

## Commands

### `openemail tools check-dmarc`

Check a domain's DMARC policy

```bash
openemail tools check-dmarc <domain> [flags]
```

Reads the domain's DMARC record from public DNS, or the record of the organisational domain it inherits from, and says how strict it is and what is wrong with it, the DMARC checker on the OpenEmail website. `stage` is `missing`, `invalid`, `monitor` for `p=none`, `quarantine` or `reject`, and `issues` lists the problems written to be shown to a person.

- Needs a sign-in.

**Arguments**

- `<domain>` (required): The domain to check, such as `acme.com`. An email address or a URL is read as its domain, and any public domain works, not only the ones in this workspace.

**Examples**

```bash
openemail tools check-dmarc acme.com
```

Print the raw JSON

```bash
openemail tools check-dmarc acme.com --json
```

Also available in: API [`GET /tools/dmarc`](https://openemail.uk/docs/api/reference/tools#get-tools-dmarc); SDK [`tools.checkDmarc()`](https://openemail.uk/docs/sdk/reference/tools#checkDmarc).

### `openemail tools check-bimi`

Check a domain's BIMI logo

```bash
openemail tools check-bimi <domain> [flags]
```

Reads the domain's BIMI record, fetches the logo it names and checks the DMARC policy beside it, since inboxes draw a logo only at `p=quarantine` or `p=reject`, the BIMI checker on the OpenEmail website. `status` is `present`, `partial` when the record is there but something stops inboxes showing the logo, `absent` or `invalid`, and `issues` says why.

- Needs a sign-in.

**Arguments**

- `<domain>` (required): The domain to check, such as `acme.com`. An email address or a URL is read as its domain, and any public domain works, not only the ones in this workspace.

**Examples**

```bash
openemail tools check-bimi acme.com
```

Print the raw JSON

```bash
openemail tools check-bimi acme.com --json
```

Also available in: API [`GET /tools/bimi`](https://openemail.uk/docs/api/reference/tools#get-tools-bimi); SDK [`tools.checkBimi()`](https://openemail.uk/docs/sdk/reference/tools#checkBimi).

### `openemail tools check-deliverability`

Check a domain's deliverability

```bash
openemail tools check-deliverability <domain> [flags]
```

Checks the records a receiving mailbox reads before it trusts mail from the domain, the deliverability checker on the OpenEmail website: MX, SPF, DKIM at the selectors its mail provider uses, DMARC and BIMI. Each check says `pass`, `warn`, `fail` or `absent` with a verdict and notes, and `score` weighs them into 0 to 100, graded `A` to `F`.

- Needs a sign-in.

**Arguments**

- `<domain>` (required): The domain to check, such as `acme.com`. An email address or a URL is read as its domain, and any public domain works, not only the ones in this workspace.

**Examples**

```bash
openemail tools check-deliverability acme.com
```

Print the raw JSON

```bash
openemail tools check-deliverability acme.com --json
```

Also available in: API [`GET /tools/deliverability`](https://openemail.uk/docs/api/reference/tools#get-tools-deliverability); SDK [`tools.checkDeliverability()`](https://openemail.uk/docs/sdk/reference/tools#checkDeliverability).
