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

सदस्यताएँ

मेलबॉक्स में आने वाले न्यूज़लेटर और मेलिंग सूचियाँ।

सदस्यता टूल

टूलयह क्या करता है
listSubscriptionsन्यूज़लेटर और मेलिंग सूचियों के भेजने वाले, हर भेजने वाले और उस पते की एक पंक्ति जिस पर वह लिखता है, साथ में यह कि हर एक ने कितनी मेल भेजी और वह सदस्यता छोड़ने का कौन-सा तरीक़ा देता है।
listSubscriptionDomainsवही, भेजने वाले के हर डोमेन की एक पंक्ति, साथ में यह कि उसके कितने भेजने वालों की सदस्यता किसी व्यक्ति के पेज खोले बिना छोड़ी जा सकती है।
unsubscribeSubscriptionकिसी एक भेजने वाले की सदस्यता उसी तरह छोड़ें जैसे वह कहता है। जो भेजने वाला सिर्फ़ एक पेज देता है, उसका लिंक लौटाया जाता है ताकि कोई व्यक्ति उसे खोले।
unsubscribeSubscriptionDomainकिसी डोमेन के हर उस भेजने वाले की सदस्यता छोड़ें जो एक-क्लिक अनुरोध या ईमेल स्वीकार करता है, और बाकी को गिनें।
unsubscribeThreadकिसी थ्रेड के भेजने वाले की सदस्यता छोड़ें, जैसा पढ़ने वाले पैनल का “सदस्यता समाप्त करें” बटन करता है।
moveSubscriptionकिसी भेजने वाले की भेजी हर चीज़ को आर्काइव, बिन या किसी लेबल में ले जाएँ, और future के साथ एक नियम से उसकी नई मेल भी ले जाते रहें।

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

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

संदर्भ

listSubscriptions

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

The newsletters and mailing lists the mailbox receives, as the Subscriptions page shows them: one row per sender and the address it writes to, with how much mail it sent, how much is unread and how it lets you unsubscribe. status is active (the default) or unsubscribed. query searches the sender, sort is recent, most, unread or name, and offset pages on.

इनपुट

statusstring
इनमें से एक"active""unsubscribed"
querystring
अधिकतम 200 वर्ण
sortstring
इनमें से एक"recent""most""unread""name"
limitinteger
कम से कम 1अधिकतम 200
offsetinteger
कम से कम 0
addressstring
3 से 320 वर्ण

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

API
GET /subscriptions
SDK
subscriptions.list()

listSubscriptionDomains

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

The same subscriptions grouped by sender domain, so a company that writes from several addresses is one row, with how many of its senders can be unsubscribed without a person opening a page. Takes the same filters as listSubscriptions.

इनपुट

statusstring
इनमें से एक"active""unsubscribed"
querystring
अधिकतम 200 वर्ण
sortstring
इनमें से एक"recent""most""unread""name"
limitinteger
कम से कम 1अधिकतम 200
offsetinteger
कम से कम 0
addressstring
3 से 320 वर्ण

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

API
GET /subscriptions/domains
SDK
subscriptions.listDomains()

unsubscribeSubscription

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

Unsubscribe from one sender the way it asks for: a one-click request when it offers one, otherwise an unsubscribe email from the address the mail arrived at. A sender that only offers a page returns its link, which a person has to open. bin also moves every conversation from the sender to the Bin. Take the id from listSubscriptions.

इनपुट

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

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

API
POST /subscriptions/{id}/unsubscribe
SDK
subscriptions.unsubscribe()

unsubscribeSubscriptionDomain

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

Unsubscribe from every sender on one domain that can be unsubscribed without a person opening a page, as the domain view of the Subscriptions page does. Senders that only offer a page are skipped and counted. bin also moves their conversations to the Bin, and address keeps it to the subscriptions delivered to one address.

इनपुट

domainstringआवश्यक
1 से 253 वर्ण
addressstring
3 से 320 वर्ण
binboolean

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

API
POST /subscriptions/domains/{domain}/unsubscribe
SDK
subscriptions.unsubscribeDomain()

unsubscribeThread

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

Unsubscribe from the sender of an email thread, as the Unsubscribe button of the reading pane does, from the newest message in it that carries an unsubscribe header.

इनपुट

threadIdstringआवश्यक
1 से 200 वर्ण

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

API
POST /threads/{id}/unsubscribe
SDK
threads.unsubscribe()

moveSubscription

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

Move every conversation from one sender to the archive, the Bin or a label. future, true by default, also makes a rule that keeps doing it to new mail from the sender, which needs permission to change rules, and false drops such a rule. labelId is the label for destination label, from getUserLabels.

इनपुट

idstringआवश्यक
1 से 64 वर्ण
destinationstringआवश्यक
इनमें से एक"archive""bin""label"
labelIdstring
1 से 200 वर्ण
futureboolean
ruleNamestring
अधिकतम 100 वर्ण

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

API
POST /subscriptions/{id}/move
SDK
subscriptions.move()