Kalo te dokumentacioni
Serveri MCP

Importet

Posta e vjetër që vjen, dhe zhvendosjet nga një ofrues tjetër.

Veglat e importeve

VeglaÇfarë bën
listImportsImportet e postës së vjetër në hapësirën e punës, më të rejat së pari, me gjendjen dhe ecurinë e tyre. addressId mban vetëm ato në një adresë.
getImportNjë import sipas id-së së tij: skedarët e tij, sa ka lexuar dhe sa mesazhe importoi.
listImportFailuresMesazhet që një import nuk arriti t’i sillte, dhe pse.
cancelImportNdal një import që ende po punon. Posta që ka importuar tashmë mbetet. Në chat-in e aplikacionit pyet gjithmonë së pari.
listProviderImportsImportet nga një ofrues tjetër emaili, si Resend, më të rejat së pari, me gjendjen e tyre.
getProviderImportNjë import nga një ofrues tjetër me raportin e tij: çfarë erdhi, domenet për t’u publikuar këtu dhe çelësat API për t’u zëvendësuar.
cancelProviderImportNdal një import nga një ofrues tjetër që ende po punon. Ajo që ka sjellë tashmë mbetet. Në chat-in e aplikacionit pyet gjithmonë së pari.

Importet e postës së vjetër kërkojnë threads:read, dhe threads:write për të anuluar një. Një klient i kufizuar në disa adresa sheh vetëm importet në to.

Importet nga një ofrues tjetër kërkojnë settings:read, dhe settings:write për të anuluar një. Vetëm pronari i hapësirës së punës arrin tek to.

Asnjë vegël nuk ngarkon postë as nuk nis një import, sepse skedarët ngarkohen në pjesë dhe një import nga një ofrues tjetër kërkon çelësin e tij API. Niseni një në faqen Migrimet të aplikacionit, ose me POST /imports dhe POST /provider-imports në REST API.

Referencë

listImports

Lejetthreads:readAsistenti i aplikacionit e ekzekuton pa pyeturPaketa e mjeteveworkspace

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.

Hyrjet

addressIdstring
Nga 1 deri në 128 karaktere
limitinteger
Të paktën 1Më së shumti 100
cursorstring

E disponueshme edhe në

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

getImport

Lejetthreads:readAsistenti i aplikacionit e ekzekuton pa pyeturPaketa e mjeteveworkspace

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.

Hyrjet

idstringE detyrueshme
Nga 1 deri në 128 karaktere

E disponueshme edhe në

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

listImportFailures

Lejetthreads:readAsistenti i aplikacionit e ekzekuton pa pyeturPaketa e mjeteveworkspace

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.

Hyrjet

idstringE detyrueshme
Nga 1 deri në 128 karaktere
afterinteger
Të paktën -1
limitinteger
Të paktën 1Më së shumti 100

E disponueshme edhe në

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

cancelImport

Lejetthreads:writeAsistenti i aplikacionit pyet gjithmonë më parëPaketa e mjeteveworkspace

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.

Hyrjet

idstringE detyrueshme
Nga 1 deri në 128 karaktere

E disponueshme edhe në

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

listProviderImports

Lejetsettings:readAsistenti i aplikacionit e ekzekuton pa pyeturPaketa e mjeteveworkspace

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.

Hyrjet

limitinteger
Të paktën 1Më së shumti 100
cursorstring

E disponueshme edhe në

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

getProviderImport

Lejetsettings:readAsistenti i aplikacionit e ekzekuton pa pyeturPaketa e mjeteveworkspace

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.

Hyrjet

idstringE detyrueshme
Nga 1 deri në 128 karaktere

E disponueshme edhe në

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

cancelProviderImport

Lejetsettings:writeAsistenti i aplikacionit pyet gjithmonë më parëPaketa e mjeteveworkspace

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.

Hyrjet

idstringE detyrueshme
Nga 1 deri në 128 karaktere

E disponueshme edhe në

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