# Imports

Copy a mailbox’s email over from a Google account.

## mailset imports start

Copy a mailbox’s mail from a Google account: opens Google to connect.

```bash
mailset imports start <mailbox> [--addresses <a,b,…>] [--org <id>]
```

### Flags

- `<mailbox>` (argument, required): The mailbox the mail is copied into.
- `--addresses` (\<a,b,…\>, optional): Which of the mailbox’s addresses. Leave out for all of them. Or @<path>, to read the JSON from a file.

An admin or owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/imports#imports.start-returns).

Example:

```bash
mailset imports start ana@example.com
```

In the API: [POST /v1/imports.start](https://mailset.app/docs/api/imports#imports.start)

## mailset imports list

List Gmail imports.

```bash
mailset imports list [--org <id>]
```

An admin or owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/imports#imports.list-returns).

Example:

```bash
mailset imports list
```

In the API: [POST /v1/imports.list](https://mailset.app/docs/api/imports#imports.list)

## mailset imports cancel

Stop an import and end its access to Google.

```bash
mailset imports cancel <id> [--org <id>]
```

### Flags

- `<id>` (argument, required): The import’s id, from `imports list`.

An admin or owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/imports#imports.cancel-returns).

Example:

```bash
mailset imports cancel imp_8d3b7e1a5c9f2046b2e7a1c5
```

In the API: [POST /v1/imports.cancel](https://mailset.app/docs/api/imports#imports.cancel)

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content