दस्तावेज़ पर जाएँ
MCP सर्वर

आयात

आता हुआ पुराना मेल, और दूसरे प्रदाता से स्थानांतरण।

आयात टूल

टूलयह क्या करता है
listImportsवर्कस्पेस में पुराने मेल के आयात, सबसे नए पहले, उनकी स्थिति और प्रगति के साथ। addressId सिर्फ़ एक पते में हुए आयात रखता है।
getImportअपनी आईडी से एक आयात: उसकी फ़ाइलें, उसने कितना पढ़ा है और कितने संदेश आयात किए।
listImportFailuresवे संदेश जिन्हें कोई आयात नहीं ला सका, और क्यों।
cancelImportचल रहा आयात रोकता है। जो मेल वह पहले ही आयात कर चुका है, वह रहता है। ऐप की चैट में यह हमेशा पहले पूछता है।
listProviderImportsदूसरे ईमेल प्रदाता, जैसे Resend, से हुए आयात, सबसे नए पहले, उनकी स्थिति के साथ।
getProviderImportदूसरे प्रदाता से एक आयात, उसकी रिपोर्ट के साथ: क्या आया, यहाँ प्रकाशित करने वाले डोमेन और बदलने वाली API कुंजियाँ।
cancelProviderImportदूसरे प्रदाता से चल रहा आयात रोकता है। जो वह पहले ही ला चुका है, वह रहता है। ऐप की चैट में यह हमेशा पहले पूछता है।

पुराने मेल के आयात के लिए threads:read चाहिए, और किसी को रद्द करने के लिए threads:write। कुछ पतों तक सीमित क्लाइंट सिर्फ़ उन्हीं में हुए आयात देखता है।

दूसरे प्रदाता से आयात के लिए settings:read चाहिए, और किसी को रद्द करने के लिए settings:write। इन तक सिर्फ़ वर्कस्पेस का मालिक पहुँचता है।

कोई टूल मेल अपलोड नहीं करता या आयात शुरू नहीं करता, क्योंकि फ़ाइलें हिस्सों में जाती हैं और दूसरे प्रदाता से आयात को उसकी API कुंजी चाहिए। ऐप के माइग्रेशन पेज पर, या REST API पर POST /imports और POST /provider-imports से एक शुरू करें।

संदर्भ

listImports

स्कोपthreads:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटworkspace

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.

इनपुट

addressIdstring
1 से 128 वर्ण
limitinteger
कम से कम 1अधिकतम 100
cursorstring

इनमें भी उपलब्ध

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

getImport

स्कोपthreads:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटworkspace

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.

इनपुट

idstringआवश्यक
1 से 128 वर्ण

इनमें भी उपलब्ध

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

listImportFailures

स्कोपthreads:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटworkspace

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.

इनपुट

idstringआवश्यक
1 से 128 वर्ण
afterinteger
कम से कम -1
limitinteger
कम से कम 1अधिकतम 100

इनमें भी उपलब्ध

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

cancelImport

स्कोपthreads:writeऐप का असिस्टेंट हमेशा पहले पूछता हैटूलकिटworkspace

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.

इनपुट

idstringआवश्यक
1 से 128 वर्ण

इनमें भी उपलब्ध

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

listProviderImports

स्कोपsettings:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटworkspace

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.

इनपुट

limitinteger
कम से कम 1अधिकतम 100
cursorstring

इनमें भी उपलब्ध

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

getProviderImport

स्कोपsettings:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटworkspace

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.

इनपुट

idstringआवश्यक
1 से 128 वर्ण

इनमें भी उपलब्ध

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

cancelProviderImport

स्कोपsettings:writeऐप का असिस्टेंट हमेशा पहले पूछता हैटूलकिटworkspace

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.

इनपुट

idstringआवश्यक
1 से 128 वर्ण

इनमें भी उपलब्ध

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