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
description: "Create a draft from your Google Workspace email account. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.drafts/create)",
description: "Download an attachment by attachmentId to the /tmp directory. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.messages.attachments/get)",
Copy file name to clipboardExpand all lines: components/gmail/actions/find-email/find-email.mjs
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
+
import{convert}from"html-to-text";
1
2
importgmailfrom"../../gmail.app.mjs";
2
3
3
4
exportdefault{
4
5
key: "gmail-find-email",
5
6
name: "Find Email",
6
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)",
7
-
version: "0.0.11",
8
+
version: "0.1.0",
8
9
type: "action",
9
10
props: {
10
11
gmail,
@@ -14,6 +15,12 @@ export default {
14
15
"q",
15
16
],
16
17
},
18
+
withTextPayload: {
19
+
type: "boolean",
20
+
label: "Return payload as plaintext",
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.**",
Copy file name to clipboardExpand all lines: components/gmail/actions/list-labels/list-labels.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
key: "gmail-list-labels",
5
5
name: "List Labels",
6
6
description: "List all the existing labels in the connected account. [See the docs](https://developers.google.com/gmail/api/reference/rest/v1/users.labels/list)",
description: "Send an email from your Google Workspace email account. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/send)",
name: "Update Signature for Email in Organization",
9
9
description: `Update the signature for a specific email address in an organization.
10
10
A Google Cloud service account with delegated domain-wide authority is required for this action. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.settings.sendAs/update)`,
0 commit comments