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
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
import{convert}from"html-to-text";
1
2
importgmailfrom"../../gmail.app.mjs";
2
3
3
4
exportdefault{
@@ -14,10 +15,10 @@ export default {
14
15
"q",
15
16
],
16
17
},
17
-
withPayload: {
18
+
withTextPayload: {
18
19
type: "boolean",
19
-
label: "With Payload",
20
-
description: "Whether or not to return the full content of the email message. If set to `true`, the action will return the full content of the email message, including headers and body. `Setting to true may make the response size larger and slower`.",
20
+
label: "With Text Payload",
21
+
description: "Whether you want to convert the payload response into a single text field. **This reduces the size of the payload and makes it easier for LLM work with.**",
0 commit comments