Importaciones
Correo antiguo que llega y traslados desde otro proveedor.
Herramientas de importaciones
| Herramienta | Qué hace |
|---|---|
| listImports | Las 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. |
| getImport | Una importación por su id: sus archivos, cuánto ha leído y cuántos mensajes importó. |
| listImportFailures | Los mensajes que una importación no pudo traer, y por qué. |
| cancelImport | Detiene una importación que sigue en curso. El correo que ya importó se queda. En el chat de la app siempre pregunta primero. |
| listProviderImports | Las importaciones desde otro proveedor de correo, como Resend, las más recientes primero, con su estado. |
| getProviderImport | Una importación desde otro proveedor con su informe: lo que llegó, los dominios que publicar aquí y las claves de API que reemplazar. |
| cancelProviderImport | Detiene 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
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
getImport
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
listImportFailures
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
cancelImport
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
listProviderImports
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
getProviderImport
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
cancelProviderImport
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