# Exports

A copy of your whole account, to download.

## mailset exports download

Download a finished export.

```bash
mailset exports download [<id>] [--out <file>]
```

### Flags

- `<id>` (argument, optional): The export. Left out, the newest finished one.
- `--out` (\<file\>, optional): Where to save it. A download that stopped carries on from where it was.

The download link needs your passkey.

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

Example:

```bash
mailset exports download --out mailset-export.zip
```

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

## mailset exports start

Start an export of your whole account.

```bash
mailset exports start
```

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

Example:

```bash
mailset exports start
```

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

## mailset exports list

Show your data exports.

```bash
mailset exports list
```

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

Example:

```bash
mailset exports list
```

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

## mailset exports cancel

Stop an export, or delete a finished one.

```bash
mailset exports cancel <id>
```

### Flags

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

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

Example:

```bash
mailset exports cancel exp_6f1a9c3e7b2d4058a4c1e9b7
```

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

## mailset exports link

Get a short-lived download link for an export.

```bash
mailset exports link <id>
```

### Flags

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

It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.

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

Example:

```bash
mailset exports link exp_6f1a9c3e7b2d4058a4c1e9b7
```

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

---

© 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