@apteva/integrations 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apps/activecampaign.json +209 -0
- package/src/apps/activecollab.json +417 -0
- package/src/apps/airtable.json +235 -0
- package/src/apps/alpaca-trading.json +1554 -0
- package/src/apps/amadeus.json +225 -0
- package/src/apps/anthropic-api.json +96 -0
- package/src/apps/apify.json +203 -0
- package/src/apps/apollo.json +748 -0
- package/src/apps/apple-podcasts.json +116 -0
- package/src/apps/archive-api.json +104 -0
- package/src/apps/archive.json +151 -0
- package/src/apps/arduino-cloud.json +301 -0
- package/src/apps/arest.json +492 -0
- package/src/apps/asana.json +184 -0
- package/src/apps/ashby.json +176 -0
- package/src/apps/assemblyai.json +163 -0
- package/src/apps/attio.json +243 -0
- package/src/apps/aws-cloudfront.json +132 -0
- package/src/apps/aws-dynamodb.json +295 -0
- package/src/apps/aws-ec2.json +184 -0
- package/src/apps/aws-lambda.json +361 -0
- package/src/apps/aws-route53.json +110 -0
- package/src/apps/aws-s3.json +303 -0
- package/src/apps/aws-ses.json +556 -0
- package/src/apps/aws-sns.json +217 -0
- package/src/apps/aws-sqs.json +234 -0
- package/src/apps/axiom.json +123 -0
- package/src/apps/beehiiv.json +252 -0
- package/src/apps/binance-trading.json +555 -0
- package/src/apps/bitly.json +175 -0
- package/src/apps/bloobirds.json +246 -0
- package/src/apps/bluesky.json +201 -0
- package/src/apps/blynk.json +316 -0
- package/src/apps/booking-com.json +144 -0
- package/src/apps/box.json +289 -0
- package/src/apps/brevo.json +1423 -0
- package/src/apps/browse-ai.json +148 -0
- package/src/apps/bunny-cdn.json +330 -0
- package/src/apps/bunny-stream.json +387 -0
- package/src/apps/cal-com.json +240 -0
- package/src/apps/calendly.json +578 -0
- package/src/apps/calflow-calendar.json +706 -0
- package/src/apps/callrail.json +190 -0
- package/src/apps/canva.json +197 -0
- package/src/apps/cartesia.json +201 -0
- package/src/apps/castbase.json +753 -0
- package/src/apps/chargebee.json +226 -0
- package/src/apps/cleanster.json +359 -0
- package/src/apps/clicksend.json +278 -0
- package/src/apps/clickup.json +266 -0
- package/src/apps/clipkit.json +517 -0
- package/src/apps/close.json +359 -0
- package/src/apps/cloudflare.json +329 -0
- package/src/apps/cloudinary.json +164 -0
- package/src/apps/coda.json +288 -0
- package/src/apps/cohere.json +158 -0
- package/src/apps/coinbase.json +268 -0
- package/src/apps/composio.json +146 -0
- package/src/apps/confluence.json +270 -0
- package/src/apps/consensus.json +879 -0
- package/src/apps/contabo.json +733 -0
- package/src/apps/convertkit.json +211 -0
- package/src/apps/core-image.json +426 -0
- package/src/apps/core-video.json +1246 -0
- package/src/apps/craftcloud.json +298 -0
- package/src/apps/datadog.json +401 -0
- package/src/apps/dataforseo.json +1273 -0
- package/src/apps/deepseek.json +150 -0
- package/src/apps/dialpad.json +229 -0
- package/src/apps/discord.json +239 -0
- package/src/apps/dnsimple.json +405 -0
- package/src/apps/docusign.json +214 -0
- package/src/apps/docx.json +282 -0
- package/src/apps/dropbox.json +185 -0
- package/src/apps/duffel.json +231 -0
- package/src/apps/dux-soup.json +694 -0
- package/src/apps/dynadot.json +250 -0
- package/src/apps/elevenlabs.json +327 -0
- package/src/apps/eventbrite-events.json +598 -0
- package/src/apps/facebook-ads.json +1399 -0
- package/src/apps/facebook-api.json +282 -0
- package/src/apps/fal-ai.json +400 -0
- package/src/apps/fathom.json +86 -0
- package/src/apps/figma.json +162 -0
- package/src/apps/filestack.json +159 -0
- package/src/apps/firebase.json +271 -0
- package/src/apps/firecrawl.json +278 -0
- package/src/apps/folk.json +564 -0
- package/src/apps/forecast-app.json +377 -0
- package/src/apps/freshdesk.json +283 -0
- package/src/apps/gemini.json +528 -0
- package/src/apps/ghost.json +439 -0
- package/src/apps/gigs-marketplace.json +1442 -0
- package/src/apps/github.json +1479 -47
- package/src/apps/gitlab.json +448 -0
- package/src/apps/gmail.json +839 -28
- package/src/apps/gohighlevel.json +596 -0
- package/src/apps/google-ads.json +270 -0
- package/src/apps/google-calendar.json +996 -36
- package/src/apps/google-docs.json +278 -0
- package/src/apps/google-drive.json +360 -0
- package/src/apps/google-maps.json +473 -0
- package/src/apps/google-sheets.json +330 -0
- package/src/apps/gooten.json +411 -0
- package/src/apps/gravity-forms.json +385 -0
- package/src/apps/gusto.json +171 -0
- package/src/apps/hackernews.json +221 -0
- package/src/apps/harmonic.json +86 -0
- package/src/apps/helpscout.json +664 -0
- package/src/apps/hetzner.json +658 -0
- package/src/apps/heygen.json +184 -0
- package/src/apps/heyreach.json +388 -0
- package/src/apps/hospitable.json +340 -0
- package/src/apps/hostinger.json +374 -0
- package/src/apps/hubspot.json +682 -0
- package/src/apps/huggingface.json +97 -0
- package/src/apps/hunter.json +504 -0
- package/src/apps/ig-trading.json +849 -0
- package/src/apps/imaterialise.json +349 -0
- package/src/apps/instagram-api.json +538 -0
- package/src/apps/intercom.json +648 -0
- package/src/apps/jira.json +226 -0
- package/src/apps/klaviyo.json +199 -0
- package/src/apps/kling-ai.json +206 -0
- package/src/apps/kraken.json +870 -0
- package/src/apps/late.json +1056 -0
- package/src/apps/leadpages.json +243 -0
- package/src/apps/learning-platform.json +2244 -0
- package/src/apps/linear.json +184 -57
- package/src/apps/linkedin.json +179 -0
- package/src/apps/listen-notes.json +136 -0
- package/src/apps/lnk-bio.json +125 -0
- package/src/apps/loom.json +188 -0
- package/src/apps/luma.json +280 -0
- package/src/apps/mailchimp.json +238 -0
- package/src/apps/mailgun.json +310 -0
- package/src/apps/manychat.json +312 -0
- package/src/apps/marin-software.json +843 -0
- package/src/apps/media-downloader.json +157 -0
- package/src/apps/meetup-events.json +361 -0
- package/src/apps/meshy.json +248 -0
- package/src/apps/microsoft-teams.json +162 -0
- package/src/apps/monday.json +213 -0
- package/src/apps/mongodb-atlas.json +467 -0
- package/src/apps/namecheap.json +252 -0
- package/src/apps/nexar.json +289 -0
- package/src/apps/notion.json +530 -50
- package/src/apps/omnikit-analytics.json +374 -0
- package/src/apps/omnikit-api-gateway.json +660 -0
- package/src/apps/omnikit-billing.json +1781 -0
- package/src/apps/omnikit-cms.json +899 -0
- package/src/apps/omnikit-functions.json +329 -0
- package/src/apps/omnikit-intelligence.json +650 -0
- package/src/apps/omnikit-management.json +214 -0
- package/src/apps/omnikit-media.json +646 -0
- package/src/apps/omnikit-messaging.json +1826 -0
- package/src/apps/omnikit-redirects.json +209 -0
- package/src/apps/omnikit-webhooks.json +269 -0
- package/src/apps/omnikit-workflows.json +323 -0
- package/src/apps/openai-api.json +462 -0
- package/src/apps/openmeteo-weather.json +75 -0
- package/src/apps/optinmonster.json +244 -0
- package/src/apps/paidkit.json +1218 -0
- package/src/apps/paypal.json +254 -0
- package/src/apps/pdf.json +366 -0
- package/src/apps/pipedrive.json +255 -0
- package/src/apps/polymarket.json +653 -0
- package/src/apps/porkbun.json +417 -0
- package/src/apps/portfolio.json +501 -0
- package/src/apps/postmark.json +257 -0
- package/src/apps/printful.json +273 -0
- package/src/apps/printify.json +295 -0
- package/src/apps/producthunt.json +346 -0
- package/src/apps/pushover-notifications.json +113 -0
- package/src/apps/qonto.json +366 -0
- package/src/apps/quickbooks.json +234 -0
- package/src/apps/replicate.json +106 -0
- package/src/apps/rss.json +281 -0
- package/src/apps/salesflow.json +538 -0
- package/src/apps/salesforce-crm.json +216 -0
- package/src/apps/sap.json +256 -0
- package/src/apps/scaleway.json +911 -0
- package/src/apps/sculpteo.json +234 -0
- package/src/apps/sendgrid-email.json +233 -0
- package/src/apps/sendgrid.json +160 -35
- package/src/apps/shapeways.json +188 -0
- package/src/apps/shopify.json +1217 -0
- package/src/apps/skai.json +779 -0
- package/src/apps/slack.json +228 -38
- package/src/apps/slant3d.json +231 -0
- package/src/apps/slides.json +760 -0
- package/src/apps/smartly.json +504 -0
- package/src/apps/snov.json +467 -0
- package/src/apps/socialcast.json +553 -63
- package/src/apps/square.json +274 -0
- package/src/apps/storage-management.json +788 -0
- package/src/apps/storylane.json +180 -0
- package/src/apps/strapi.json +338 -0
- package/src/apps/stripe-payments.json +847 -0
- package/src/apps/stripe.json +472 -35
- package/src/apps/supabase.json +169 -0
- package/src/apps/supademo.json +115 -0
- package/src/apps/taskflow.json +714 -0
- package/src/apps/teamwork.json +457 -0
- package/src/apps/telegram.json +444 -0
- package/src/apps/thinger.json +458 -0
- package/src/apps/ticktick.json +169 -0
- package/src/apps/tiktok-api.json +406 -0
- package/src/apps/todoist.json +151 -0
- package/src/apps/together.json +123 -0
- package/src/apps/torrent.json +267 -0
- package/src/apps/trading.json +1012 -0
- package/src/apps/trading212.json +383 -0
- package/src/apps/trello.json +205 -0
- package/src/apps/tripo.json +157 -0
- package/src/apps/twilio.json +1008 -0
- package/src/apps/twitter-ads.json +875 -0
- package/src/apps/twitter-api.json +1151 -0
- package/src/apps/twitterapiio.json +548 -0
- package/src/apps/typeform.json +210 -0
- package/src/apps/vidforge.json +1020 -0
- package/src/apps/vonage.json +394 -0
- package/src/apps/vultr.json +225 -0
- package/src/apps/webflow.json +223 -0
- package/src/apps/wise.json +273 -0
- package/src/apps/wistia.json +283 -0
- package/src/apps/woocommerce.json +288 -0
- package/src/apps/wordpress.json +1675 -0
- package/src/apps/xero.json +257 -0
- package/src/apps/youtube-api.json +861 -0
- package/src/apps/zendesk.json +295 -0
- package/src/apps/zite.json +173 -0
- package/src/apps/zoho-crm.json +386 -0
- package/src/apps/zoo.json +193 -0
- package/src/apps/zoom.json +334 -0
package/src/apps/gmail.json
CHANGED
|
@@ -1,69 +1,880 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "gmail",
|
|
3
3
|
"name": "Gmail",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "MCP server for Gmail - send, read, search emails, manage labels, drafts, threads, filters, and attachments via the Gmail REST API",
|
|
5
5
|
"logo": "https://www.google.com/s2/favicons?domain=gmail.com&sz=128",
|
|
6
|
-
"categories": [
|
|
6
|
+
"categories": [
|
|
7
|
+
"email",
|
|
8
|
+
"google",
|
|
9
|
+
"communication",
|
|
10
|
+
"productivity",
|
|
11
|
+
"gmail"
|
|
12
|
+
],
|
|
7
13
|
"base_url": "https://gmail.googleapis.com/gmail/v1",
|
|
8
14
|
"auth": {
|
|
9
|
-
"types": [
|
|
10
|
-
|
|
15
|
+
"types": [
|
|
16
|
+
"bearer",
|
|
17
|
+
"oauth2"
|
|
18
|
+
],
|
|
19
|
+
"headers": {
|
|
20
|
+
"Authorization": "Bearer {{token}}"
|
|
21
|
+
},
|
|
22
|
+
"credential_fields": [
|
|
23
|
+
{
|
|
24
|
+
"name": "token",
|
|
25
|
+
"label": "access_token"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
11
28
|
"oauth2": {
|
|
12
29
|
"authorize_url": "https://accounts.google.com/o/oauth2/v2/auth",
|
|
13
30
|
"token_url": "https://oauth2.googleapis.com/token",
|
|
14
|
-
"scopes": [
|
|
31
|
+
"scopes": [
|
|
32
|
+
"https://www.googleapis.com/auth/gmail.readonly",
|
|
33
|
+
"https://www.googleapis.com/auth/gmail.send",
|
|
34
|
+
"https://www.googleapis.com/auth/gmail.modify",
|
|
35
|
+
"https://www.googleapis.com/auth/gmail.compose",
|
|
36
|
+
"https://www.googleapis.com/auth/gmail.labels",
|
|
37
|
+
"https://www.googleapis.com/auth/gmail.settings.basic"
|
|
38
|
+
],
|
|
15
39
|
"client_id_required": true,
|
|
16
|
-
"pkce": false
|
|
17
|
-
"setup_url": "https://console.cloud.google.com/apis/credentials",
|
|
18
|
-
"setup_steps": [
|
|
19
|
-
"Go to Google Cloud Console > APIs & Services > Credentials",
|
|
20
|
-
"Create an OAuth 2.0 Client ID (Web application type)",
|
|
21
|
-
"Add the authorized redirect URI: {callback_url}",
|
|
22
|
-
"Enable the Gmail API under APIs & Services > Library",
|
|
23
|
-
"Copy the Client ID and Client Secret"
|
|
24
|
-
]
|
|
40
|
+
"pkce": false
|
|
25
41
|
}
|
|
26
42
|
},
|
|
27
43
|
"tools": [
|
|
44
|
+
{
|
|
45
|
+
"name": "send_email",
|
|
46
|
+
"description": "Send an email message. Provide plain-text fields (to, subject, body) — the system handles RFC 2822 encoding and UTF-8 character support automatically. For HTML emails, use htmlBody instead of or alongside body.",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"path": "/users/me/messages/send",
|
|
49
|
+
"input_schema": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"to": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Recipient email address(es). Comma-separate for multiple (e.g., 'user@example.com' or 'a@example.com, b@example.com')"
|
|
55
|
+
},
|
|
56
|
+
"subject": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "Email subject line (supports all languages and special characters)"
|
|
59
|
+
},
|
|
60
|
+
"body": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Plain text email body (supports all languages and special characters including accents, CJK, emoji)"
|
|
63
|
+
},
|
|
64
|
+
"htmlBody": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "HTML email body (optional, use instead of or alongside plain text body)"
|
|
67
|
+
},
|
|
68
|
+
"cc": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "CC recipients (comma-separated)"
|
|
71
|
+
},
|
|
72
|
+
"bcc": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "BCC recipients (comma-separated)"
|
|
75
|
+
},
|
|
76
|
+
"replyTo": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "Reply-To address"
|
|
79
|
+
},
|
|
80
|
+
"threadId": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Thread ID to reply to (makes this a reply within an existing thread)"
|
|
83
|
+
},
|
|
84
|
+
"inReplyTo": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Message-ID of the message being replied to (for proper threading)"
|
|
87
|
+
},
|
|
88
|
+
"references": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Space-separated Message-IDs for threading context"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"to",
|
|
95
|
+
"subject",
|
|
96
|
+
"body"
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
},
|
|
28
100
|
{
|
|
29
101
|
"name": "list_messages",
|
|
30
|
-
"description": "List
|
|
102
|
+
"description": "List email message IDs matching a query. Returns only message IDs and thread IDs — use gmail-get-message to fetch full content (subject, body, headers). Supports Gmail search syntax (e.g. 'from:user@example.com', 'is:unread', 'subject:hello', 'newer_than:2d', 'has:attachment')",
|
|
31
103
|
"method": "GET",
|
|
32
104
|
"path": "/users/me/messages",
|
|
33
105
|
"input_schema": {
|
|
34
106
|
"type": "object",
|
|
35
107
|
"properties": {
|
|
36
|
-
"q": {
|
|
37
|
-
|
|
38
|
-
|
|
108
|
+
"q": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Gmail search query (e.g. 'from:user@example.com is:unread', 'subject:invoice newer_than:7d', 'has:attachment')"
|
|
111
|
+
},
|
|
112
|
+
"maxResults": {
|
|
113
|
+
"type": "integer",
|
|
114
|
+
"description": "Maximum number of messages to return",
|
|
115
|
+
"default": 20,
|
|
116
|
+
"maximum": 500
|
|
117
|
+
},
|
|
118
|
+
"pageToken": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "Page token from previous response for pagination"
|
|
121
|
+
},
|
|
122
|
+
"labelIds": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"description": "Label IDs to filter by — only messages matching ALL specified labels are returned (e.g. ['INBOX'], ['INBOX', 'UNREAD'], ['STARRED'])"
|
|
128
|
+
},
|
|
129
|
+
"includeSpamTrash": {
|
|
130
|
+
"type": "boolean",
|
|
131
|
+
"description": "Include messages from SPAM and TRASH",
|
|
132
|
+
"default": false
|
|
133
|
+
}
|
|
39
134
|
}
|
|
40
135
|
}
|
|
41
136
|
},
|
|
42
137
|
{
|
|
43
138
|
"name": "get_message",
|
|
44
|
-
"description": "Get
|
|
139
|
+
"description": "Get full email message details including headers, body, and attachment metadata",
|
|
45
140
|
"method": "GET",
|
|
46
|
-
"path": "/users/me/messages
|
|
141
|
+
"path": "/users/me/messages/%7B%7BmessageId%7D%7D",
|
|
47
142
|
"input_schema": {
|
|
48
143
|
"type": "object",
|
|
49
144
|
"properties": {
|
|
50
|
-
"
|
|
51
|
-
|
|
145
|
+
"messageId": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Message ID to retrieve"
|
|
148
|
+
},
|
|
149
|
+
"format": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "Response format",
|
|
152
|
+
"enum": [
|
|
153
|
+
"minimal",
|
|
154
|
+
"full",
|
|
155
|
+
"raw",
|
|
156
|
+
"metadata"
|
|
157
|
+
],
|
|
158
|
+
"default": "full"
|
|
159
|
+
},
|
|
160
|
+
"metadataHeaders": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"description": "Headers to include when format is 'metadata' (comma-separated, e.g. 'From,To,Subject,Date')"
|
|
163
|
+
}
|
|
52
164
|
},
|
|
53
|
-
"required": [
|
|
165
|
+
"required": [
|
|
166
|
+
"messageId"
|
|
167
|
+
]
|
|
54
168
|
}
|
|
55
169
|
},
|
|
56
170
|
{
|
|
57
|
-
"name": "
|
|
58
|
-
"description": "
|
|
171
|
+
"name": "modify_message",
|
|
172
|
+
"description": "Add or remove labels from a message (e.g. mark as read/unread, star, archive, categorize)",
|
|
59
173
|
"method": "POST",
|
|
60
|
-
"path": "/users/me/messages/
|
|
174
|
+
"path": "/users/me/messages/%7B%7BmessageId%7D%7D/modify",
|
|
175
|
+
"input_schema": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"messageId": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"description": "Message ID to modify"
|
|
181
|
+
},
|
|
182
|
+
"addLabelIds": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"items": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"description": "Label IDs to add (e.g. ['STARRED', 'UNREAD', 'IMPORTANT'])"
|
|
188
|
+
},
|
|
189
|
+
"removeLabelIds": {
|
|
190
|
+
"type": "array",
|
|
191
|
+
"items": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"description": "Label IDs to remove (e.g. ['UNREAD'] to mark as read, ['INBOX'] to archive)"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": [
|
|
198
|
+
"messageId"
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "trash_message",
|
|
204
|
+
"description": "Move a message to the trash",
|
|
205
|
+
"method": "POST",
|
|
206
|
+
"path": "/users/me/messages/%7B%7BmessageId%7D%7D/trash",
|
|
61
207
|
"input_schema": {
|
|
62
208
|
"type": "object",
|
|
63
209
|
"properties": {
|
|
64
|
-
"
|
|
210
|
+
"messageId": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"description": "Message ID to trash"
|
|
213
|
+
}
|
|
65
214
|
},
|
|
66
|
-
"required": [
|
|
215
|
+
"required": [
|
|
216
|
+
"messageId"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "untrash_message",
|
|
222
|
+
"description": "Remove a message from trash and restore it",
|
|
223
|
+
"method": "POST",
|
|
224
|
+
"path": "/users/me/messages/%7B%7BmessageId%7D%7D/untrash",
|
|
225
|
+
"input_schema": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"messageId": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"description": "Message ID to restore from trash"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": [
|
|
234
|
+
"messageId"
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "delete_message",
|
|
240
|
+
"description": "Permanently delete a message (bypasses trash). This action is irreversible",
|
|
241
|
+
"method": "DELETE",
|
|
242
|
+
"path": "/users/me/messages/%7B%7BmessageId%7D%7D",
|
|
243
|
+
"input_schema": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"messageId": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"description": "Message ID to permanently delete"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"required": [
|
|
252
|
+
"messageId"
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "batch_modify_messages",
|
|
258
|
+
"description": "Add or remove labels from multiple messages at once",
|
|
259
|
+
"method": "POST",
|
|
260
|
+
"path": "/users/me/messages/batchModify",
|
|
261
|
+
"input_schema": {
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"ids": {
|
|
265
|
+
"type": "array",
|
|
266
|
+
"items": {
|
|
267
|
+
"type": "string"
|
|
268
|
+
},
|
|
269
|
+
"description": "List of message IDs to modify (max 1000)"
|
|
270
|
+
},
|
|
271
|
+
"addLabelIds": {
|
|
272
|
+
"type": "array",
|
|
273
|
+
"items": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
},
|
|
276
|
+
"description": "Label IDs to add to all messages"
|
|
277
|
+
},
|
|
278
|
+
"removeLabelIds": {
|
|
279
|
+
"type": "array",
|
|
280
|
+
"items": {
|
|
281
|
+
"type": "string"
|
|
282
|
+
},
|
|
283
|
+
"description": "Label IDs to remove from all messages"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"ids"
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "list_threads",
|
|
293
|
+
"description": "List email thread IDs with optional search. Returns thread IDs and snippets — use gmail-get-thread to fetch full conversation messages",
|
|
294
|
+
"method": "GET",
|
|
295
|
+
"path": "/users/me/threads",
|
|
296
|
+
"input_schema": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"q": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"description": "Gmail search query to filter threads"
|
|
302
|
+
},
|
|
303
|
+
"maxResults": {
|
|
304
|
+
"type": "integer",
|
|
305
|
+
"description": "Maximum threads to return",
|
|
306
|
+
"default": 20,
|
|
307
|
+
"maximum": 500
|
|
308
|
+
},
|
|
309
|
+
"pageToken": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"description": "Page token for pagination"
|
|
312
|
+
},
|
|
313
|
+
"labelIds": {
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"description": "Label IDs to filter by — only threads matching ALL specified labels (e.g. ['INBOX'], ['INBOX', 'UNREAD'])"
|
|
319
|
+
},
|
|
320
|
+
"includeSpamTrash": {
|
|
321
|
+
"type": "boolean",
|
|
322
|
+
"description": "Include SPAM and TRASH threads",
|
|
323
|
+
"default": false
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "get_thread",
|
|
330
|
+
"description": "Get all messages in an email thread (conversation)",
|
|
331
|
+
"method": "GET",
|
|
332
|
+
"path": "/users/me/threads/%7B%7BthreadId%7D%7D",
|
|
333
|
+
"input_schema": {
|
|
334
|
+
"type": "object",
|
|
335
|
+
"properties": {
|
|
336
|
+
"threadId": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"description": "Thread ID to retrieve"
|
|
339
|
+
},
|
|
340
|
+
"format": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"description": "Message format in the thread",
|
|
343
|
+
"enum": [
|
|
344
|
+
"minimal",
|
|
345
|
+
"full",
|
|
346
|
+
"raw",
|
|
347
|
+
"metadata"
|
|
348
|
+
],
|
|
349
|
+
"default": "full"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"threadId"
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "modify_thread",
|
|
359
|
+
"description": "Add or remove labels from all messages in a thread",
|
|
360
|
+
"method": "POST",
|
|
361
|
+
"path": "/users/me/threads/%7B%7BthreadId%7D%7D/modify",
|
|
362
|
+
"input_schema": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"threadId": {
|
|
366
|
+
"type": "string",
|
|
367
|
+
"description": "Thread ID to modify"
|
|
368
|
+
},
|
|
369
|
+
"addLabelIds": {
|
|
370
|
+
"type": "array",
|
|
371
|
+
"items": {
|
|
372
|
+
"type": "string"
|
|
373
|
+
},
|
|
374
|
+
"description": "Label IDs to add"
|
|
375
|
+
},
|
|
376
|
+
"removeLabelIds": {
|
|
377
|
+
"type": "array",
|
|
378
|
+
"items": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"description": "Label IDs to remove"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"required": [
|
|
385
|
+
"threadId"
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "trash_thread",
|
|
391
|
+
"description": "Move an entire thread to trash",
|
|
392
|
+
"method": "POST",
|
|
393
|
+
"path": "/users/me/threads/%7B%7BthreadId%7D%7D/trash",
|
|
394
|
+
"input_schema": {
|
|
395
|
+
"type": "object",
|
|
396
|
+
"properties": {
|
|
397
|
+
"threadId": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"description": "Thread ID to trash"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"required": [
|
|
403
|
+
"threadId"
|
|
404
|
+
]
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "untrash_thread",
|
|
409
|
+
"description": "Restore a thread from trash",
|
|
410
|
+
"method": "POST",
|
|
411
|
+
"path": "/users/me/threads/%7B%7BthreadId%7D%7D/untrash",
|
|
412
|
+
"input_schema": {
|
|
413
|
+
"type": "object",
|
|
414
|
+
"properties": {
|
|
415
|
+
"threadId": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"description": "Thread ID to restore"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"required": [
|
|
421
|
+
"threadId"
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "list_labels",
|
|
427
|
+
"description": "List all labels in the mailbox including system labels (INBOX, SENT, TRASH, etc.) and user-created labels",
|
|
428
|
+
"method": "GET",
|
|
429
|
+
"path": "/users/me/labels",
|
|
430
|
+
"input_schema": {
|
|
431
|
+
"type": "object",
|
|
432
|
+
"properties": {}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "get_label",
|
|
437
|
+
"description": "Get details for a specific label including message and thread counts",
|
|
438
|
+
"method": "GET",
|
|
439
|
+
"path": "/users/me/labels/%7B%7BlabelId%7D%7D",
|
|
440
|
+
"input_schema": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"labelId": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"description": "Label ID (e.g. 'INBOX', 'Label_123')"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"labelId"
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "create_label",
|
|
455
|
+
"description": "Create a new email label for organizing messages",
|
|
456
|
+
"method": "POST",
|
|
457
|
+
"path": "/users/me/labels",
|
|
458
|
+
"input_schema": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"properties": {
|
|
461
|
+
"name": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"description": "Label name (use '/' for nested labels, e.g. 'Projects/Work')"
|
|
464
|
+
},
|
|
465
|
+
"labelListVisibility": {
|
|
466
|
+
"type": "string",
|
|
467
|
+
"description": "Visibility in the label list",
|
|
468
|
+
"enum": [
|
|
469
|
+
"labelShow",
|
|
470
|
+
"labelShowIfUnread",
|
|
471
|
+
"labelHide"
|
|
472
|
+
],
|
|
473
|
+
"default": "labelShow"
|
|
474
|
+
},
|
|
475
|
+
"messageListVisibility": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"description": "Visibility in the message list",
|
|
478
|
+
"enum": [
|
|
479
|
+
"show",
|
|
480
|
+
"hide"
|
|
481
|
+
],
|
|
482
|
+
"default": "show"
|
|
483
|
+
},
|
|
484
|
+
"color": {
|
|
485
|
+
"type": "object",
|
|
486
|
+
"description": "Label color",
|
|
487
|
+
"properties": {
|
|
488
|
+
"textColor": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"description": "Text color hex (e.g. '#ffffff')"
|
|
491
|
+
},
|
|
492
|
+
"backgroundColor": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"description": "Background color hex (e.g. '#4986e7')"
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"required": [
|
|
500
|
+
"name"
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "update_label",
|
|
506
|
+
"description": "Update a label's name, visibility, or color",
|
|
507
|
+
"method": "PATCH",
|
|
508
|
+
"path": "/users/me/labels/%7B%7BlabelId%7D%7D",
|
|
509
|
+
"input_schema": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {
|
|
512
|
+
"labelId": {
|
|
513
|
+
"type": "string",
|
|
514
|
+
"description": "Label ID to update"
|
|
515
|
+
},
|
|
516
|
+
"name": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"description": "New label name"
|
|
519
|
+
},
|
|
520
|
+
"labelListVisibility": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"enum": [
|
|
523
|
+
"labelShow",
|
|
524
|
+
"labelShowIfUnread",
|
|
525
|
+
"labelHide"
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
"messageListVisibility": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"enum": [
|
|
531
|
+
"show",
|
|
532
|
+
"hide"
|
|
533
|
+
]
|
|
534
|
+
},
|
|
535
|
+
"color": {
|
|
536
|
+
"type": "object",
|
|
537
|
+
"properties": {
|
|
538
|
+
"textColor": {
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"backgroundColor": {
|
|
542
|
+
"type": "string"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"required": [
|
|
548
|
+
"labelId"
|
|
549
|
+
]
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "delete_label",
|
|
554
|
+
"description": "Permanently delete a label. Messages with this label are not deleted, only the label is removed",
|
|
555
|
+
"method": "DELETE",
|
|
556
|
+
"path": "/users/me/labels/%7B%7BlabelId%7D%7D",
|
|
557
|
+
"input_schema": {
|
|
558
|
+
"type": "object",
|
|
559
|
+
"properties": {
|
|
560
|
+
"labelId": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"description": "Label ID to delete"
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"required": [
|
|
566
|
+
"labelId"
|
|
567
|
+
]
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "list_drafts",
|
|
572
|
+
"description": "List email drafts with optional search query",
|
|
573
|
+
"method": "GET",
|
|
574
|
+
"path": "/users/me/drafts",
|
|
575
|
+
"input_schema": {
|
|
576
|
+
"type": "object",
|
|
577
|
+
"properties": {
|
|
578
|
+
"q": {
|
|
579
|
+
"type": "string",
|
|
580
|
+
"description": "Search query to filter drafts"
|
|
581
|
+
},
|
|
582
|
+
"maxResults": {
|
|
583
|
+
"type": "integer",
|
|
584
|
+
"description": "Maximum drafts to return",
|
|
585
|
+
"default": 20,
|
|
586
|
+
"maximum": 500
|
|
587
|
+
},
|
|
588
|
+
"pageToken": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"description": "Page token for pagination"
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "get_draft",
|
|
597
|
+
"description": "Get a specific draft's content and metadata",
|
|
598
|
+
"method": "GET",
|
|
599
|
+
"path": "/users/me/drafts/%7B%7BdraftId%7D%7D",
|
|
600
|
+
"input_schema": {
|
|
601
|
+
"type": "object",
|
|
602
|
+
"properties": {
|
|
603
|
+
"draftId": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"description": "Draft ID to retrieve"
|
|
606
|
+
},
|
|
607
|
+
"format": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"description": "Message format",
|
|
610
|
+
"enum": [
|
|
611
|
+
"minimal",
|
|
612
|
+
"full",
|
|
613
|
+
"raw",
|
|
614
|
+
"metadata"
|
|
615
|
+
],
|
|
616
|
+
"default": "full"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"required": [
|
|
620
|
+
"draftId"
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "create_draft",
|
|
626
|
+
"description": "Create a new email draft. Provide plain-text fields (to, subject, body) — the system handles RFC 2822 encoding and UTF-8 character support automatically. For HTML drafts, use htmlBody.",
|
|
627
|
+
"method": "POST",
|
|
628
|
+
"path": "/users/me/drafts",
|
|
629
|
+
"input_schema": {
|
|
630
|
+
"type": "object",
|
|
631
|
+
"properties": {
|
|
632
|
+
"to": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"description": "Recipient email address(es), comma-separated"
|
|
635
|
+
},
|
|
636
|
+
"subject": {
|
|
637
|
+
"type": "string",
|
|
638
|
+
"description": "Email subject line (supports all languages and special characters)"
|
|
639
|
+
},
|
|
640
|
+
"body": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"description": "Plain text email body (supports all languages and special characters)"
|
|
643
|
+
},
|
|
644
|
+
"htmlBody": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "HTML email body (optional)"
|
|
647
|
+
},
|
|
648
|
+
"cc": {
|
|
649
|
+
"type": "string",
|
|
650
|
+
"description": "CC recipients (comma-separated)"
|
|
651
|
+
},
|
|
652
|
+
"bcc": {
|
|
653
|
+
"type": "string",
|
|
654
|
+
"description": "BCC recipients (comma-separated)"
|
|
655
|
+
},
|
|
656
|
+
"replyTo": {
|
|
657
|
+
"type": "string",
|
|
658
|
+
"description": "Reply-To address"
|
|
659
|
+
},
|
|
660
|
+
"threadId": {
|
|
661
|
+
"type": "string",
|
|
662
|
+
"description": "Thread ID if this draft is a reply"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"required": [
|
|
666
|
+
"to",
|
|
667
|
+
"subject",
|
|
668
|
+
"body"
|
|
669
|
+
]
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "delete_draft",
|
|
674
|
+
"description": "Permanently delete a draft",
|
|
675
|
+
"method": "DELETE",
|
|
676
|
+
"path": "/users/me/drafts/%7B%7BdraftId%7D%7D",
|
|
677
|
+
"input_schema": {
|
|
678
|
+
"type": "object",
|
|
679
|
+
"properties": {
|
|
680
|
+
"draftId": {
|
|
681
|
+
"type": "string",
|
|
682
|
+
"description": "Draft ID to delete"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"required": [
|
|
686
|
+
"draftId"
|
|
687
|
+
]
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "send_draft",
|
|
692
|
+
"description": "Send an existing draft",
|
|
693
|
+
"method": "POST",
|
|
694
|
+
"path": "/users/me/drafts/send",
|
|
695
|
+
"input_schema": {
|
|
696
|
+
"type": "object",
|
|
697
|
+
"properties": {
|
|
698
|
+
"id": {
|
|
699
|
+
"type": "string",
|
|
700
|
+
"description": "Draft ID to send"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"required": [
|
|
704
|
+
"id"
|
|
705
|
+
]
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "get_attachment",
|
|
710
|
+
"description": "Download an email attachment by message ID and attachment ID. Returns base64-encoded attachment data",
|
|
711
|
+
"method": "GET",
|
|
712
|
+
"path": "/users/me/messages/%7B%7BmessageId%7D%7D/attachments/%7B%7BattachmentId%7D%7D",
|
|
713
|
+
"input_schema": {
|
|
714
|
+
"type": "object",
|
|
715
|
+
"properties": {
|
|
716
|
+
"messageId": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"description": "Message ID containing the attachment"
|
|
719
|
+
},
|
|
720
|
+
"attachmentId": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"description": "Attachment ID (found in message payload parts)"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"required": [
|
|
726
|
+
"messageId",
|
|
727
|
+
"attachmentId"
|
|
728
|
+
]
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "list_filters",
|
|
733
|
+
"description": "List all email filters (automatic rules) in the account",
|
|
734
|
+
"method": "GET",
|
|
735
|
+
"path": "/users/me/settings/filters",
|
|
736
|
+
"input_schema": {
|
|
737
|
+
"type": "object",
|
|
738
|
+
"properties": {}
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "create_filter",
|
|
743
|
+
"description": "Create an email filter rule to automatically label, archive, star, or forward matching messages",
|
|
744
|
+
"method": "POST",
|
|
745
|
+
"path": "/users/me/settings/filters",
|
|
746
|
+
"input_schema": {
|
|
747
|
+
"type": "object",
|
|
748
|
+
"properties": {
|
|
749
|
+
"criteria": {
|
|
750
|
+
"type": "object",
|
|
751
|
+
"description": "Filter matching criteria",
|
|
752
|
+
"properties": {
|
|
753
|
+
"from": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"description": "Sender email address or pattern"
|
|
756
|
+
},
|
|
757
|
+
"to": {
|
|
758
|
+
"type": "string",
|
|
759
|
+
"description": "Recipient email address or pattern"
|
|
760
|
+
},
|
|
761
|
+
"subject": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"description": "Subject line contains"
|
|
764
|
+
},
|
|
765
|
+
"query": {
|
|
766
|
+
"type": "string",
|
|
767
|
+
"description": "Gmail search query for matching"
|
|
768
|
+
},
|
|
769
|
+
"hasAttachment": {
|
|
770
|
+
"type": "boolean",
|
|
771
|
+
"description": "Must have attachment"
|
|
772
|
+
},
|
|
773
|
+
"size": {
|
|
774
|
+
"type": "integer",
|
|
775
|
+
"description": "Message size in bytes"
|
|
776
|
+
},
|
|
777
|
+
"sizeComparison": {
|
|
778
|
+
"type": "string",
|
|
779
|
+
"enum": [
|
|
780
|
+
"larger",
|
|
781
|
+
"smaller"
|
|
782
|
+
],
|
|
783
|
+
"description": "Size comparison operator"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"action": {
|
|
788
|
+
"type": "object",
|
|
789
|
+
"description": "Actions to apply to matching messages",
|
|
790
|
+
"properties": {
|
|
791
|
+
"addLabelIds": {
|
|
792
|
+
"type": "array",
|
|
793
|
+
"items": {
|
|
794
|
+
"type": "string"
|
|
795
|
+
},
|
|
796
|
+
"description": "Labels to add"
|
|
797
|
+
},
|
|
798
|
+
"removeLabelIds": {
|
|
799
|
+
"type": "array",
|
|
800
|
+
"items": {
|
|
801
|
+
"type": "string"
|
|
802
|
+
},
|
|
803
|
+
"description": "Labels to remove (e.g. ['INBOX'] to skip inbox)"
|
|
804
|
+
},
|
|
805
|
+
"forward": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "Email address to forward to"
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"required": [
|
|
813
|
+
"criteria",
|
|
814
|
+
"action"
|
|
815
|
+
]
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "delete_filter",
|
|
820
|
+
"description": "Delete an email filter rule",
|
|
821
|
+
"method": "DELETE",
|
|
822
|
+
"path": "/users/me/settings/filters/%7B%7BfilterId%7D%7D",
|
|
823
|
+
"input_schema": {
|
|
824
|
+
"type": "object",
|
|
825
|
+
"properties": {
|
|
826
|
+
"filterId": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"description": "Filter ID to delete"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"required": [
|
|
832
|
+
"filterId"
|
|
833
|
+
]
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "watch_mailbox",
|
|
838
|
+
"description": "Set up push notifications for mailbox changes via Google Cloud Pub/Sub. Notifications are sent when new messages arrive or labels change",
|
|
839
|
+
"method": "POST",
|
|
840
|
+
"path": "/users/me/watch",
|
|
841
|
+
"input_schema": {
|
|
842
|
+
"type": "object",
|
|
843
|
+
"properties": {
|
|
844
|
+
"topicName": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"description": "Google Cloud Pub/Sub topic name (format: projects/PROJECT_ID/topics/TOPIC_NAME)"
|
|
847
|
+
},
|
|
848
|
+
"labelIds": {
|
|
849
|
+
"type": "array",
|
|
850
|
+
"items": {
|
|
851
|
+
"type": "string"
|
|
852
|
+
},
|
|
853
|
+
"description": "Label IDs to watch (e.g. ['INBOX']). If empty, watches all labels"
|
|
854
|
+
},
|
|
855
|
+
"labelFilterBehavior": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"description": "Filter behavior for labelIds",
|
|
858
|
+
"enum": [
|
|
859
|
+
"include",
|
|
860
|
+
"exclude"
|
|
861
|
+
],
|
|
862
|
+
"default": "include"
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"required": [
|
|
866
|
+
"topicName"
|
|
867
|
+
]
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "stop_watch",
|
|
872
|
+
"description": "Stop receiving push notifications for mailbox changes",
|
|
873
|
+
"method": "POST",
|
|
874
|
+
"path": "/users/me/stop",
|
|
875
|
+
"input_schema": {
|
|
876
|
+
"type": "object",
|
|
877
|
+
"properties": {}
|
|
67
878
|
}
|
|
68
879
|
}
|
|
69
880
|
]
|