Ir a la documentación
Servidor MCP

Importaciones

Correo antiguo que llega y traslados desde otro proveedor.

Herramientas de importaciones

HerramientaQué hace
listImportsLas importaciones de correo antiguo al espacio de trabajo, las más recientes primero, con su estado y progreso. addressId deja solo las de una dirección.
getImportUna importación por su id: sus archivos, cuánto ha leído y cuántos mensajes importó.
listImportFailuresLos mensajes que una importación no pudo traer, y por qué.
cancelImportDetiene una importación que sigue en curso. El correo que ya importó se queda. En el chat de la app siempre pregunta primero.
listProviderImportsLas importaciones desde otro proveedor de correo, como Resend, las más recientes primero, con su estado.
getProviderImportUna importación desde otro proveedor con su informe: lo que llegó, los dominios que publicar aquí y las claves de API que reemplazar.
cancelProviderImportDetiene una importación desde otro proveedor que sigue en curso. Lo que ya trajo se queda. En el chat de la app siempre pregunta primero.

Las importaciones de correo antiguo necesitan threads:read, y threads:write para cancelar una. Un cliente limitado a algunas direcciones solo ve las importaciones a ellas.

Las importaciones desde otro proveedor necesitan settings:read, y settings:write para cancelar una. Solo el propietario del espacio de trabajo llega a ellas.

Ninguna herramienta sube correo ni inicia una importación, porque los archivos se suben por partes y una importación desde otro proveedor necesita su clave de API. Inicia una en la página Migraciones de la app, o con POST /imports y POST /provider-imports en la API REST.

Referencia

listImports

Alcancesthreads:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

The imports of old mail into this workspace, newest first, as the Migrations page of the app lists them: the address each one fills, its status, how far it has read and how many messages it imported. addressId keeps the ones into one address. A member sees the imports into the addresses they reach. One page at a time: when more follow, the last line gives a cursor to pass back for the next page.

Entradas

addressIdstring
De 1 a 128 caracteres
limitinteger
Al menos 1Como máximo 100
cursorstring

También disponible en

API
GET /imports
SDK
imports.list()imports.listAll()imports.iterate()

getImport

Alcancesthreads:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

One import of old mail by its id: its status, the files it reads, how far it has read, and how many messages it imported, found already here, left out or could not import. listImportFailures says which messages did not import and why.

Entradas

idstringObligatorio
De 1 a 128 caracteres

También disponible en

API
GET /imports/{id}
SDK
imports.get()

listImportFailures

Alcancesthreads:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

The messages an import could not bring in, in the order it met them, with the reason for each, as What was not imported on the Migrations page shows them. When more follow, the last line gives the after value to pass back for the next page.

Entradas

idstringObligatorio
De 1 a 128 caracteres
afterinteger
Al menos -1
limitinteger
Al menos 1Como máximo 100

También disponible en

API
GET /imports/{id}/failures
SDK
imports.listFailures()

cancelImport

Alcancesthreads:writeEl asistente de la app siempre pregunta antesKit de herramientasworkspace

Stop an import of old mail that is still uploading, waiting or running, as Cancel import on the Migrations page does. Mail it already imported stays in the mailbox. A chat always asks first.

Entradas

idstringObligatorio
De 1 a 128 caracteres

También disponible en

API
POST /imports/{id}/cancel
SDK
imports.cancel()

listProviderImports

Alcancessettings:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

The imports from another email provider, such as Resend, into this workspace, newest first: what each one brings across and its status. Only the workspace owner reaches them. getProviderImport gives the full report of one. One page at a time: when more follow, the last line gives a cursor to pass back for the next page.

Entradas

limitinteger
Al menos 1Como máximo 100
cursorstring

También disponible en

API
GET /provider-importsGET /provider-imports/{id}
SDK
providerImports.list()providerImports.listAll()providerImports.iterate()providerImports.get()

getProviderImport

Alcancessettings:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

One import from another email provider by its id, with its report as the Migrations page shows it: what came across, the domains to publish here, the API keys to replace and what was not brought across. Only the workspace owner reaches it.

Entradas

idstringObligatorio
De 1 a 128 caracteres

También disponible en

API
GET /provider-importsGET /provider-imports/{id}
SDK
providerImports.list()providerImports.listAll()providerImports.iterate()providerImports.get()

cancelProviderImport

Alcancessettings:writeEl asistente de la app siempre pregunta antesKit de herramientasworkspace

Stop an import from another email provider that is still waiting or running. What it already brought across stays. Only the workspace owner can, and a chat always asks first.

Entradas

idstringObligatorio
De 1 a 128 caracteres

También disponible en

API
POST /provider-imports/{id}/cancel
SDK
providerImports.cancel()