@cli4ai/gmail 1.0.8 → 1.0.9
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/cli4ai.json +260 -27
- package/package.json +1 -1
package/cli4ai.json
CHANGED
|
@@ -1,38 +1,271 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gmail",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Gmail CLI tool for messages, threads, and drafts",
|
|
5
5
|
"author": "cliforai",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"entry": "run.ts",
|
|
8
8
|
"runtime": "bun",
|
|
9
|
-
"keywords": [
|
|
9
|
+
"keywords": [
|
|
10
|
+
"gmail",
|
|
11
|
+
"email",
|
|
12
|
+
"google",
|
|
13
|
+
"mail"
|
|
14
|
+
],
|
|
10
15
|
"commands": {
|
|
11
|
-
"inbox": {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
16
|
+
"inbox": {
|
|
17
|
+
"description": "Recent inbox messages",
|
|
18
|
+
"args": [
|
|
19
|
+
{
|
|
20
|
+
"name": "limit",
|
|
21
|
+
"required": false
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"unread": {
|
|
26
|
+
"description": "Unread messages only",
|
|
27
|
+
"args": [
|
|
28
|
+
{
|
|
29
|
+
"name": "limit",
|
|
30
|
+
"required": false
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"search": {
|
|
35
|
+
"description": "Search with Gmail syntax",
|
|
36
|
+
"args": [
|
|
37
|
+
{
|
|
38
|
+
"name": "query",
|
|
39
|
+
"required": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "limit",
|
|
43
|
+
"required": false
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"read": {
|
|
48
|
+
"description": "Read full message",
|
|
49
|
+
"args": [
|
|
50
|
+
{
|
|
51
|
+
"name": "id",
|
|
52
|
+
"required": true
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"archive": {
|
|
57
|
+
"description": "Archive message",
|
|
58
|
+
"args": [
|
|
59
|
+
{
|
|
60
|
+
"name": "id",
|
|
61
|
+
"required": true
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"trash": {
|
|
66
|
+
"description": "Move to trash",
|
|
67
|
+
"args": [
|
|
68
|
+
{
|
|
69
|
+
"name": "id",
|
|
70
|
+
"required": true
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"untrash": {
|
|
75
|
+
"description": "Remove from trash",
|
|
76
|
+
"args": [
|
|
77
|
+
{
|
|
78
|
+
"name": "id",
|
|
79
|
+
"required": true
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"star": {
|
|
84
|
+
"description": "Star message",
|
|
85
|
+
"args": [
|
|
86
|
+
{
|
|
87
|
+
"name": "id",
|
|
88
|
+
"required": true
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"unstar": {
|
|
93
|
+
"description": "Unstar message",
|
|
94
|
+
"args": [
|
|
95
|
+
{
|
|
96
|
+
"name": "id",
|
|
97
|
+
"required": true
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"markread": {
|
|
102
|
+
"description": "Mark as read",
|
|
103
|
+
"args": [
|
|
104
|
+
{
|
|
105
|
+
"name": "id",
|
|
106
|
+
"required": true
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"markunread": {
|
|
111
|
+
"description": "Mark as unread",
|
|
112
|
+
"args": [
|
|
113
|
+
{
|
|
114
|
+
"name": "id",
|
|
115
|
+
"required": true
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"thread": {
|
|
120
|
+
"description": "Full conversation thread",
|
|
121
|
+
"args": [
|
|
122
|
+
{
|
|
123
|
+
"name": "id",
|
|
124
|
+
"required": true
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"threads": {
|
|
129
|
+
"description": "List recent threads",
|
|
130
|
+
"args": [
|
|
131
|
+
{
|
|
132
|
+
"name": "limit",
|
|
133
|
+
"required": false
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"send": {
|
|
138
|
+
"description": "Send new email",
|
|
139
|
+
"args": [
|
|
140
|
+
{
|
|
141
|
+
"name": "to",
|
|
142
|
+
"required": true
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "subject",
|
|
146
|
+
"required": true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "body",
|
|
150
|
+
"required": true
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"reply": {
|
|
155
|
+
"description": "Reply to message",
|
|
156
|
+
"args": [
|
|
157
|
+
{
|
|
158
|
+
"name": "id",
|
|
159
|
+
"required": true
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "body",
|
|
163
|
+
"required": true
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"replyall": {
|
|
168
|
+
"description": "Reply all",
|
|
169
|
+
"args": [
|
|
170
|
+
{
|
|
171
|
+
"name": "id",
|
|
172
|
+
"required": true
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "body",
|
|
176
|
+
"required": true
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"forward": {
|
|
181
|
+
"description": "Forward message",
|
|
182
|
+
"args": [
|
|
183
|
+
{
|
|
184
|
+
"name": "id",
|
|
185
|
+
"required": true
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "to",
|
|
189
|
+
"required": true
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"draft": {
|
|
194
|
+
"description": "Create draft",
|
|
195
|
+
"args": [
|
|
196
|
+
{
|
|
197
|
+
"name": "to",
|
|
198
|
+
"required": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "subject",
|
|
202
|
+
"required": true
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "body",
|
|
206
|
+
"required": true
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"labels": {
|
|
211
|
+
"description": "List all labels"
|
|
212
|
+
},
|
|
213
|
+
"label": {
|
|
214
|
+
"description": "Add label to message",
|
|
215
|
+
"args": [
|
|
216
|
+
{
|
|
217
|
+
"name": "id",
|
|
218
|
+
"required": true
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "label",
|
|
222
|
+
"required": true
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"unlabel": {
|
|
227
|
+
"description": "Remove label from message",
|
|
228
|
+
"args": [
|
|
229
|
+
{
|
|
230
|
+
"name": "id",
|
|
231
|
+
"required": true
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "label",
|
|
235
|
+
"required": true
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"attachments": {
|
|
240
|
+
"description": "List attachments in message",
|
|
241
|
+
"args": [
|
|
242
|
+
{
|
|
243
|
+
"name": "id",
|
|
244
|
+
"required": true
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"download": {
|
|
249
|
+
"description": "Download attachment",
|
|
250
|
+
"args": [
|
|
251
|
+
{
|
|
252
|
+
"name": "id",
|
|
253
|
+
"required": true
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"drafts": {
|
|
258
|
+
"description": "List all drafts"
|
|
259
|
+
},
|
|
260
|
+
"draft-send": {
|
|
261
|
+
"description": "Send draft",
|
|
262
|
+
"args": [
|
|
263
|
+
{
|
|
264
|
+
"name": "id",
|
|
265
|
+
"required": true
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
}
|
|
36
269
|
},
|
|
37
270
|
"dependencies": {
|
|
38
271
|
"googleapis": "^144.0.0",
|