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

भेजे गए और शेड्यूल किए गए

वह मेल जो जा चुकी है या जाने का इंतज़ार कर रही है।

भेजे गए और शेड्यूल किए गए मेल के टूल

टूलयह क्या करता है
listSentEmailsवर्कस्पेस ने जो मेल भेजी है या जो वह भेजेगा, सबसे नई पहले, status, भेजने वाले, ब्रॉडकास्ट, या scheduledFrom और scheduledTo की अवधि के हिसाब से।
getSentEmailएक भेजा गया या शेड्यूल किया गया ईमेल: उसकी स्थिति, वह कब जाना है या कब गया, क्या गड़बड़ हुई और हर प्राप्तकर्ता के लिए उसकी स्थिति क्या है।
listEmailEventsएक ईमेल के साथ क्या हुआ, पुराने पहले: भेजा गया, विफल हुआ, फिर से शेड्यूल हुआ और, ट्रैक होने पर, हर ओपन, क्लिक और डाउनलोड।
rescheduleEmailजो ईमेल अभी गया नहीं है, उसे नए समय पर ले जाएँ, यानी किसी ISO 8601 समय या PT2H जैसी अवधि पर।
updateScheduledEmailऐसे ईमेल का विषय, बॉडी, भेजने वाला या प्राप्तकर्ता बदलें जो अभी गया नहीं है।
cancelEmailजो ईमेल अभी गया नहीं है, उसे रोकें। उसे वापस नहीं लाया जा सकता, सिर्फ़ फिर से भेजा जा सकता है।

पढ़ने के लिए “भेजे गए संदेश और उनकी डिलीवरी स्थिति पढ़ना” (emails:read) चाहिए, और भेजने का समय बदलने, बदलाव करने या रद्द करने के लिए “ईमेल भेजना” (emails:send) चाहिए। कुछ पतों तक सीमित क्लाइंट सिर्फ़ उन्हीं पतों से भेजी गई मेल तक पहुँचता है, और जिस व्यक्ति की भूमिका हर पते तक नहीं पहुँचती, वह सिर्फ़ अपनी भेजी मेल का समय बदल सकता है, उसमें बदलाव कर सकता है या उसे रद्द कर सकता है।

जिस संदेश का अनुवाद स्वीकार किए जाते समय हुआ था, उसके शब्द वही रहते हैं, और जो संदेश एन्क्रिप्ट किया गया था, उसके शब्द और प्राप्तकर्ता वही रहते हैं, इसलिए updateScheduledEmail उन्हें बदलने से इनकार करता है। इसके बजाय उसे रद्द करें और फिर से भेजें।

ऐप की चैट में cancelEmail हमेशा पहले पूछता है, और किसी ईमेल के भेजने का समय बदलना या उसे बदलना पूछता है, जब तक आपने ख़ुद उसके लिए न कहा हो।

संदर्भ

listSentEmails

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

Mail this workspace has sent or will send, newest first: messages sent through the app, the API and automations, with their status. status keeps some statuses: queued and scheduled are still waiting, sending, sent, partial, failed and cancelled are not. scheduledFrom and scheduledTo, ISO 8601 instants, keep the messages scheduled inside that window, which with status scheduled and queued is what is waiting to go out. When more follow, the last line gives a cursor.

इनपुट

statusstring[]
इनमें से एक"queued""scheduled""sending""sent""partial""cancelled""failed"
fromstring
scheduledFromstring
फ़ॉर्मैटdate-time
scheduledTostring
फ़ॉर्मैटdate-time
broadcastIdstring
limitinteger
कम से कम 1अधिकतम 100
cursorstring

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

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

getSentEmail

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

One sent or scheduled email by id: its status, when it is due or went out, what went wrong if anything did, and where it stands with each recipient. Take the id from listSentEmails or from what sendEmail returned.

इनपुट

idstringआवश्यक
खाली नहीं

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

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

listEmailEvents

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

What happened to one sent email, oldest first: accepted, queued, scheduled, sent, failed, cancelled, rescheduled and, when it was tracked, every counted open, click and download. When more follow, the last line gives a cursor.

इनपुट

idstringआवश्यक
खाली नहीं
limitinteger
कम से कम 1अधिकतम 100
cursorstring

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

API
GET /emails/{id}/events
SDK
emails.listEvents()emails.listAllEvents()emails.iterateEvents()

rescheduleEmail

स्कोपemails:sendऐप का असिस्टेंट पहले पूछता है, जब तक आपने खुद न कहा होटूलकिटsent

Move a scheduled or queued email to a new time. scheduledAt is an ISO 8601 instant or a duration such as PT2H, in the future and at most a year out. getCurrentDate gives the time now.

इनपुट

idstringआवश्यक
खाली नहीं
scheduledAtstringआवश्यक
खाली नहीं

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

API
PATCH /emails/{id}
SDK
emails.reschedule()emails.update()

updateScheduledEmail

स्कोपemails:sendऐप का असिस्टेंट पहले पूछता है, जब तक आपने खुद न कहा होटूलकिटsent

Change an email that has not gone yet: its subject, its body as html or text, the address it goes out as, or who it goes to. A recipient list replaces the stored one whole. A field you leave out keeps its value. A message translated when it was accepted keeps its wording, and one that was encrypted keeps its wording and its recipients, so cancel it and send again instead.

इनपुट

idstringआवश्यक
खाली नहीं
subjectstring
अधिकतम 998 वर्ण
htmlstring
अधिकतम 1000000 वर्ण
textstring
अधिकतम 1000000 वर्ण
fromstring
toobject[]
1 से 50 आइटम
emailstringआवश्यक
अधिकतम 320 वर्णफ़ॉर्मैटemail
namestring
अधिकतम 128 वर्ण
ccobject[]
अधिकतम 50 आइटम
emailstringआवश्यक
अधिकतम 320 वर्णफ़ॉर्मैटemail
namestring
अधिकतम 128 वर्ण
bccobject[]
अधिकतम 50 आइटम
emailstringआवश्यक
अधिकतम 320 वर्णफ़ॉर्मैटemail
namestring
अधिकतम 128 वर्ण

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

API
PATCH /emails/{id}
SDK
emails.reschedule()emails.update()

cancelEmail

स्कोपemails:sendऐप का असिस्टेंट हमेशा पहले पूछता हैटूलकिटsent

Stop an email that has not gone yet: a scheduled one, or one still inside its undo window. It cannot be brought back afterwards, only sent again. One that has already gone cannot be cancelled. Cancelling twice is not an error.

इनपुट

idstringआवश्यक
खाली नहीं

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

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