# Mailboxes

Create mailboxes, and decide who holds each one.

## mailset mailboxes list

List the mailboxes you can open.

```bash
mailset mailboxes list
```

With `--json` it prints a list of [Mailbox objects](https://mailset.app/docs/api/mailboxes#mailbox).

Example:

```bash
mailset mailboxes list
```

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

## mailset mailboxes add

Add a mailbox on one of your domains.

```bash
mailset mailboxes add <address> [--kind person|shared] [--members <a,b,…>] [--org <id>]
```

### Flags

- `<address>` (argument, required): The new mailbox’s address, on one of the org’s domains.
- `--kind` (enum, optional): `person` for one person’s mail, `shared` for a team’s. One of `person`, `shared`. Default `person`.
- `--members` (\<a,b,…\>, optional): Who can open it. Empty means you. Or @<path>, to read the JSON from a file.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.add-returns).

Example:

```bash
mailset mailboxes add support@example.com --kind shared --members ana@example.com,ben@example.com
```

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

## mailset mailboxes grant

Give someone in the org access to a mailbox.

```bash
mailset mailboxes grant <address> --member <member> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.
- `--member` (\<member\>, required): The member’s address.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.grant-returns).

Example:

```bash
mailset mailboxes grant support@example.com --member ben@example.com
```

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

## mailset mailboxes revoke

Take someone out of a mailbox.

```bash
mailset mailboxes revoke <address> --member <member> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.
- `--member` (\<member\>, required): The member’s address.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.revoke-returns).

Example:

```bash
mailset mailboxes revoke support@example.com --member ben@example.com
```

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

## mailset mailboxes all

List every mailbox in the org, and who holds each.

```bash
mailset mailboxes all [--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/mailboxes#mailboxes.all-returns).

Example:

```bash
mailset mailboxes all
```

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

## mailset mailboxes deletePlan

Show exactly what deleting a mailbox would destroy.

```bash
mailset mailboxes deletePlan <address> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.

An admin or owner of the org can run it.

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

Example:

```bash
mailset mailboxes deletePlan old@example.com
```

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

## mailset mailboxes delete

Delete a mailbox and all its mail for good.

```bash
mailset mailboxes delete <address> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.delete-returns).

Example:

```bash
mailset mailboxes delete old@example.com
```

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

## mailset mailboxes receiving

Accept or refuse new mail to a mailbox.

```bash
mailset mailboxes receiving <address> --receiving [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.
- `--receiving` (flag, required): True to accept new mail, false to refuse it.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.receiving-returns).

Example:

```bash
mailset mailboxes receiving old@example.com --receiving false
```

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

## mailset mailboxes resume

Let a mailbox its brake paused send again, once you know why it was.

```bash
mailset mailboxes resume <address> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.resume-returns).

Example:

```bash
mailset mailboxes resume ana@example.com
```

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

## mailset mailboxes reassign

Give a mailbox to one person. Everyone else loses it.

```bash
mailset mailboxes reassign <address> --to <to> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.
- `--to` (\<to\>, required): The member who gets it, by address.

An admin or owner of the org can run it.

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/mailboxes#mailboxes.reassign-returns).

Example:

```bash
mailset mailboxes reassign ben@example.com --to ana@example.com
```

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

## mailset mailboxes name

Set the name a mailbox’s mail goes out under.

```bash
mailset mailboxes name <address> --name <name> [--org <id>]
```

### Flags

- `<address>` (argument, required): The mailbox’s address.
- `--name` (\<name\>, required): The name its mail goes out under. Empty clears it.

An admin or owner of the org can run it.

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

Example:

```bash
mailset mailboxes name support@example.com --name "Acme Support"
```

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

---

© 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