# Senders

Photos for the addresses you send from, and who writes to you.

## mailset senders connect

Connect your Google Workspace or Cloud Identity org, so Mailset can make the Google users behind sender photos: opens Google.

```bash
mailset senders connect [--org <id>]
```

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/senders#senders.connect-returns).

Example:

```bash
mailset senders connect
```

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

## mailset senders disconnect

End Mailset’s access to your Google org at Google.

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

Example:

```bash
mailset senders disconnect
```

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

## mailset senders accounts

The addresses you send from, and whether each has a Google user with a photo, the picture Gmail shows beside your mail. A domain narrows it.

```bash
mailset senders accounts [<domain>] [--org <id>]
```

### Flags

- `<domain>` (argument, optional): Only addresses at this domain.

An admin or owner of the org can run it.

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

Example:

```bash
mailset senders accounts example.com
```

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

## mailset senders create

Make the Google user for a sending address, so Gmail shows its photo.

```bash
mailset senders create <address> --name <name> [--photo <path>] [--org <id>]
```

### Flags

- `<address>` (argument, required): The sending address the Google user is for.
- `--name` (\<name\>, required): The user’s name, as “First Last”.
- `--photo` (\<path\>, optional): The photo, base64.

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/senders#senders.create-returns).

Example:

```bash
mailset senders create hello@example.com --name "Acme Team" --photo logo.png
```

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

## mailset senders photo

Replace the photo of a sending address’s Google user.

```bash
mailset senders photo <address> --file <path> [--org <id>]
```

### Flags

- `<address>` (argument, required): The sending address whose Google user gets the photo.
- `--file` (\<path\>, required): The photo, base64.

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/senders#senders.photo-returns).

Example:

```bash
mailset senders photo hello@example.com --file logo.png
```

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

## mailset senders list

List who writes to your mailboxes, and how much of it you open.

```bash
mailset senders list [--mailbox <mailbox>] [--query <query>]
```

### Flags

- `--mailbox` (\<mailbox\>, optional): Only this mailbox’s senders.
- `--query` (\<query\>, optional): Only senders whose name or address has this in it.

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

Example:

```bash
mailset senders list --mailbox ana@example.com
```

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

## mailset senders keep

Say yes to a new sender, so they stop showing as new.

```bash
mailset senders keep <address> --mailbox <mailbox>
```

### Flags

- `<address>` (argument, required): The sender’s address.
- `--mailbox` (\<mailbox\>, required): One of your mailboxes, by address.

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

Example:

```bash
mailset senders keep news@example.org --mailbox ana@example.com
```

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

## mailset senders get

Show how one sender’s mail arrived and what they wrote lately.

```bash
mailset senders get <address> --mailbox <mailbox>
```

### Flags

- `<address>` (argument, required): The sender’s address.
- `--mailbox` (\<mailbox\>, required): One of your mailboxes, by address.

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

Example:

```bash
mailset senders get news@example.org --mailbox ana@example.com
```

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

## mailset senders unsubscribe

Ask a sender to stop writing to one mailbox, by the newest mail they sent it.

```bash
mailset senders unsubscribe <address> --mailbox <mailbox>
```

### Flags

- `<address>` (argument, required): The sender’s address.
- `--mailbox` (\<mailbox\>, required): One of your mailboxes, by address.

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

Example:

```bash
mailset senders unsubscribe news@example.org --mailbox ana@example.com
```

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

## mailset senders trash

Move what a sender sent to one mailbox into Trash.

```bash
mailset senders trash <address> --mailbox <mailbox>
```

### Flags

- `<address>` (argument, required): The sender’s address.
- `--mailbox` (\<mailbox\>, required): One of your mailboxes, by address.

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

Example:

```bash
mailset senders trash offers@example.net --mailbox ana@example.com
```

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

---

© 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