Imports

Imports

Copy a mailbox’s email over from a Google account.

On this page
  1. imports start
  2. imports list
  3. imports cancel

mailset imports start

Copy a mailbox’s mail from a Google account: opens Google to connect.

Admin or owner

Flags

  • <mailbox>argumentrequired

    The mailbox the mail is copied into.

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

    Which of the mailbox’s addresses. Leave out for all of them.

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

Returns

With --json it prints what the API returns.

In the API: POST /v1/imports.start

Usage
mailset imports start <mailbox> [--addresses <a,b,…>] [--org <id>]
Example
mailset imports start moc.elpmaxe@ana

mailset imports list

List Gmail imports.

Admin or owner

Returns

With --json it prints what the API returns.

In the API: POST /v1/imports.list

Usage
mailset imports list [--org <id>]
Example
mailset imports list

mailset imports cancel

Stop an import and end its access to Google.

Admin or owner

Flags

  • <id>argumentrequired

    The import’s id, from imports list.

Returns

With --json it prints what the API returns.

In the API: POST /v1/imports.cancel

Usage
mailset imports cancel <id> [--org <id>]
Example
mailset imports cancel imp_8d3b7e1a5c9f2046b2e7a1c5