Mailboxes

Mailboxes

Create mailboxes, and decide who holds each one.

On this page
  1. mailboxes list
  2. mailboxes add
  3. mailboxes grant
  4. mailboxes revoke
  5. mailboxes all
  6. mailboxes deletePlan
  7. mailboxes delete
  8. mailboxes receiving
  9. mailboxes resume
  10. mailboxes reassign
  11. mailboxes name

mailset mailboxes list

List the mailboxes you can open.

Returns

With --json it prints a list of Mailbox objects.

In the API: POST /v1/mailboxes.list

Usage
mailset mailboxes list
Example
mailset mailboxes list

mailset mailboxes add

Add a mailbox on one of your domains.

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The new mailbox’s address, on one of the org’s domains.

  • --kindenumoptional

    person for one person’s mail, shared for a team’s.

    One ofpersonshared

    Default person.

  • --members<a,b,…>optional

    Who can open it. Empty means you.

    Or @<path>, to read the JSON from a file.

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

Usage
mailset mailboxes add <address> [--kind person|shared] [--members <a,b,…>] [--org <id>]
Example
mailset mailboxes add moc.elpmaxe@troppus --kind shared --members moc.elpmaxe@ana,moc.elpmaxe@neb

mailset mailboxes grant

Give someone in the org access to a mailbox.

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The mailbox’s address.

  • --member<member>required

    The member’s address.

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

Usage
mailset mailboxes grant <address> --member <member> [--org <id>]
Example
mailset mailboxes grant moc.elpmaxe@troppus --member moc.elpmaxe@neb

mailset mailboxes revoke

Take someone out of a mailbox.

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The mailbox’s address.

  • --member<member>required

    The member’s address.

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

Usage
mailset mailboxes revoke <address> --member <member> [--org <id>]
Example
mailset mailboxes revoke moc.elpmaxe@troppus --member moc.elpmaxe@neb

mailset mailboxes all

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

Admin or owner

Returns

With --json it prints what the API returns.

In the API: POST /v1/mailboxes.all

Usage
mailset mailboxes all [--org <id>]
Example
mailset mailboxes all

mailset mailboxes deletePlan

Show exactly what deleting a mailbox would destroy.

Admin or owner

Flags

  • <address>argumentrequired

    The mailbox’s address.

Returns

With --json it prints what the API returns.

In the API: POST /v1/mailboxes.deletePlan

Usage
mailset mailboxes deletePlan <address> [--org <id>]
Example
mailset mailboxes deletePlan moc.elpmaxe@dlo

mailset mailboxes delete

Delete a mailbox and all its mail for good.

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The mailbox’s address.

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

Usage
mailset mailboxes delete <address> [--org <id>]
Example
mailset mailboxes delete moc.elpmaxe@dlo

mailset mailboxes receiving

Accept or refuse new mail to a mailbox.

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The mailbox’s address.

  • --receivingflagrequired

    True to accept new mail, false to refuse 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.

Returns

With --json it prints what the API returns.

In the API: POST /v1/mailboxes.receiving

Usage
mailset mailboxes receiving <address> --receiving [--org <id>]
Example
mailset mailboxes receiving moc.elpmaxe@dlo --receiving false

mailset mailboxes resume

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

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The mailbox’s address.

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

Usage
mailset mailboxes resume <address> [--org <id>]
Example
mailset mailboxes resume moc.elpmaxe@ana

mailset mailboxes reassign

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

Admin or ownerPasskey

Flags

  • <address>argumentrequired

    The mailbox’s address.

  • --to<to>required

    The member who gets it, by address.

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

Usage
mailset mailboxes reassign <address> --to <to> [--org <id>]
Example
mailset mailboxes reassign moc.elpmaxe@neb --to moc.elpmaxe@ana

mailset mailboxes name

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

Admin or owner

Flags

  • <address>argumentrequired

    The mailbox’s address.

  • --name<name>required

    The name its mail goes out under. Empty clears it.

Returns

With --json it prints what the API returns.

In the API: POST /v1/mailboxes.name

Usage
mailset mailboxes name <address> --name <name> [--org <id>]
Example
mailset mailboxes name moc.elpmaxe@troppus --name "Acme Support"