# Groups

One address that reaches several mailboxes.

## mailset groups list

List an org’s groups.

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

An admin or owner of the org can run it.

With `--json` it prints a list of [Group objects](https://mailset.app/docs/api/groups#group).

Example:

```bash
mailset groups list
```

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

## mailset groups add

Add a group: one address, a copy to every member mailbox.

```bash
mailset groups add <address> [--name <name>] [--senders anyone|org|members] [--members <a,b,…>] [--org <id>]
```

### Flags

- `<address>` (argument, required): The group’s address, on one of the org’s domains.
- `--name` (\<name\>, optional): A name for the group.
- `--senders` (enum, optional): Who may write to it: `anyone`, people in the `org`, or only its `members`. One of `anyone`, `org`, `members`. Default `org`.
- `--members` (\<a,b,…\>, optional): Mailboxes and other groups, by address. 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 the [Group object](https://mailset.app/docs/api/groups#group).

Example:

```bash
mailset groups add team@example.com --name Team --members ana@example.com,ben@example.com
```

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

## mailset groups update

Rename a group, or change who can send to it.

```bash
mailset groups update <address> [--name <name>] [--senders anyone|org|members] [--org <id>]
```

### Flags

- `<address>` (argument, required): The group’s address.
- `--name` (\<name\>, optional): A new name for the group.
- `--senders` (enum, optional): Who may write to it: `anyone`, people in the `org`, or only its `members`. One of `anyone`, `org`, `members`.

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 the [Group object](https://mailset.app/docs/api/groups#group).

Example:

```bash
mailset groups update team@example.com --senders anyone
```

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

## mailset groups remove

Delete a group. Its members keep their mail.

```bash
mailset groups remove <address> [--org <id>]
```

### Flags

- `<address>` (argument, required): The group’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/groups#groups.remove-returns).

Example:

```bash
mailset groups remove team@example.com
```

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

## mailset groups addMember

Add a mailbox or group to a group.

```bash
mailset groups addMember <address> --member <member> [--org <id>]
```

### Flags

- `<address>` (argument, required): The group’s address.
- `--member` (\<member\>, required): The mailbox or group to add or take out, 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 the [Group object](https://mailset.app/docs/api/groups#group).

Example:

```bash
mailset groups addMember team@example.com --member carla@example.com
```

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

## mailset groups removeMember

Take a mailbox or group out of a group.

```bash
mailset groups removeMember <address> --member <member> [--org <id>]
```

### Flags

- `<address>` (argument, required): The group’s address.
- `--member` (\<member\>, required): The mailbox or group to add or take out, by address.

An admin or owner of the org can run it.

With `--json` it prints the [Group object](https://mailset.app/docs/api/groups#group).

Example:

```bash
mailset groups removeMember team@example.com --member ben@example.com
```

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

---

© 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