You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/gmail/actions/find-email/find-email.mjs
+23-11Lines changed: 23 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ export default {
5
5
key: "gmail-find-email",
6
6
name: "Find Email",
7
7
description: "Find an email using Google's Search Engine. [See the docs](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/list)",
8
-
version: "0.1.5",
8
+
version: "0.1.6",
9
9
type: "action",
10
10
props: {
11
11
gmail,
@@ -21,6 +21,13 @@ export default {
21
21
description: "Convert the payload response into a single text field. **This reduces the size of the payload and makes it easier for LLMs work with.**",
22
22
default: false,
23
23
},
24
+
metadataOnly: {
25
+
type: "boolean",
26
+
label: "Metadata Only",
27
+
description: "Only return metadata for the messages. This reduces the size of the payload and makes it easier for LLMs work with.",
28
+
optional: true,
29
+
default: false,
30
+
},
24
31
labels: {
25
32
propDefinition: [
26
33
gmail,
@@ -41,8 +48,8 @@ export default {
41
48
maxResults: {
42
49
type: "integer",
43
50
label: "Max Results",
44
-
description: "Maximum number of messages to return. Defaults to `100`.",
45
-
default: 100,
51
+
description: "Maximum number of messages to return. Defaults to `20`.",
0 commit comments