Senders

Senders

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

On this page
  1. senders connect
  2. senders disconnect
  3. senders accounts
  4. senders create
  5. senders photo
  6. senders list
  7. senders keep
  8. senders get
  9. senders unsubscribe
  10. senders trash

mailset senders connect

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

Admin or ownerPasskey

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.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.connect

Usage
mailset senders connect [--org <id>]
Example
mailset senders connect

mailset senders disconnect

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

Admin or owner

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.disconnect

Usage
mailset senders disconnect [--org <id>]
Example
mailset 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.

Admin or owner

Flags

  • <domain>argumentoptional

    Only addresses at this domain.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.accounts

Usage
mailset senders accounts [<domain>] [--org <id>]
Example
mailset senders accounts example.com

mailset senders create

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

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The sending address the Google user is for.

  • --name<name>required

    The user’s name, as “First Last”.

  • --photo<path>optional

    The photo, base64.

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.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.create

Usage
mailset senders create <address> --name <name> [--photo <path>] [--org <id>]
Example
mailset senders create moc.elpmaxe@olleh --name "Acme Team" --photo logo.png

mailset senders photo

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

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The sending address whose Google user gets the photo.

  • --file<path>required

    The photo, base64.

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.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.photo

Usage
mailset senders photo <address> --file <path> [--org <id>]
Example
mailset senders photo moc.elpmaxe@olleh --file logo.png

mailset senders list

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

Flags

  • --mailbox<mailbox>optional

    Only this mailbox’s senders.

  • --query<query>optional

    Only senders whose name or address has this in it.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.list

Usage
mailset senders list [--mailbox <mailbox>] [--query <query>]
Example
mailset senders list --mailbox moc.elpmaxe@ana

mailset senders keep

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

Flags

  • <address>argumentrequired

    The sender’s address.

  • --mailbox<mailbox>required

    One of your mailboxes, by address.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.keep

Usage
mailset senders keep <address> --mailbox <mailbox>
Example
mailset senders keep gro.elpmaxe@swen --mailbox moc.elpmaxe@ana

mailset senders get

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

Flags

  • <address>argumentrequired

    The sender’s address.

  • --mailbox<mailbox>required

    One of your mailboxes, by address.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.get

Usage
mailset senders get <address> --mailbox <mailbox>
Example
mailset senders get gro.elpmaxe@swen --mailbox moc.elpmaxe@ana

mailset senders unsubscribe

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

Flags

  • <address>argumentrequired

    The sender’s address.

  • --mailbox<mailbox>required

    One of your mailboxes, by address.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.unsubscribe

Usage
mailset senders unsubscribe <address> --mailbox <mailbox>
Example
mailset senders unsubscribe gro.elpmaxe@swen --mailbox moc.elpmaxe@ana

mailset senders trash

Move what a sender sent to one mailbox into Trash.

Flags

  • <address>argumentrequired

    The sender’s address.

  • --mailbox<mailbox>required

    One of your mailboxes, by address.

Returns

With --json it prints what the API returns.

In the API: POST /v1/senders.trash

Usage
mailset senders trash <address> --mailbox <mailbox>
Example
mailset senders trash ten.elpmaxe@sreffo --mailbox moc.elpmaxe@ana