From 29b926a93b42f429fdb5829e883a2d14b7d7adaf Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Fri, 24 Oct 2025 14:55:22 -0400 Subject: [PATCH 1/3] bug fix --- components/gmail/actions/create-draft/create-draft.mjs | 2 +- components/gmail/gmail.app.mjs | 4 ++-- components/gmail/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/gmail/actions/create-draft/create-draft.mjs b/components/gmail/actions/create-draft/create-draft.mjs index 3ffb159b00e8c..a37be581f3cd8 100644 --- a/components/gmail/actions/create-draft/create-draft.mjs +++ b/components/gmail/actions/create-draft/create-draft.mjs @@ -6,7 +6,7 @@ export default { key: "gmail-create-draft", name: "Create Draft", 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)", - version: "0.1.8", + version: "0.1.9", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/gmail.app.mjs b/components/gmail/gmail.app.mjs index 5c47ccba2a22f..1db7d515e9cfe 100644 --- a/components/gmail/gmail.app.mjs +++ b/components/gmail/gmail.app.mjs @@ -520,9 +520,9 @@ export default { threadId, ...options } = opts; - const mail = new MailComposer(options); + const mail = new MailComposer(options).compile(); mail.keepBcc = true; - const message = await mail.compile().build(); + const message = await mail.build(); try { const response = await this._client().users.drafts.create({ userId: constants.USER_ID, diff --git a/components/gmail/package.json b/components/gmail/package.json index 471d1d97136a6..05e714013cfd1 100644 --- a/components/gmail/package.json +++ b/components/gmail/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/gmail", - "version": "1.3.3", + "version": "1.3.4", "description": "Pipedream Gmail Components", "main": "gmail.app.mjs", "keywords": [ From 3408e4e0afaa1df92da5d3a8f7f04d2afa31b75d Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Fri, 24 Oct 2025 14:58:36 -0400 Subject: [PATCH 2/3] versions --- .../gmail/actions/add-label-to-email/add-label-to-email.mjs | 2 +- components/gmail/actions/approve-workflow/approve-workflow.mjs | 2 +- components/gmail/actions/archive-email/archive-email.mjs | 2 +- components/gmail/actions/create-label/create-label.mjs | 2 +- components/gmail/actions/delete-email/delete-email.mjs | 2 +- .../gmail/actions/download-attachment/download-attachment.mjs | 2 +- components/gmail/actions/find-email/find-email.mjs | 2 +- .../gmail/actions/get-send-as-alias/get-send-as-alias.mjs | 2 +- components/gmail/actions/list-labels/list-labels.mjs | 2 +- .../gmail/actions/list-send-as-aliases/list-send-as-aliases.mjs | 2 +- .../actions/remove-label-from-email/remove-label-from-email.mjs | 2 +- components/gmail/actions/send-email/send-email.mjs | 2 +- .../gmail/actions/update-org-signature/update-org-signature.mjs | 2 +- .../update-primary-signature/update-primary-signature.mjs | 2 +- .../sources/new-attachment-received/new-attachment-received.mjs | 2 +- .../new-email-matching-search/new-email-matching-search.mjs | 2 +- .../gmail/sources/new-email-received/new-email-received.mjs | 2 +- .../gmail/sources/new-labeled-email/new-labeled-email.mjs | 2 +- components/gmail/sources/new-sent-email/new-sent-email.mjs | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/gmail/actions/add-label-to-email/add-label-to-email.mjs b/components/gmail/actions/add-label-to-email/add-label-to-email.mjs index 20ee2d0b3da39..854a6e78d58f9 100644 --- a/components/gmail/actions/add-label-to-email/add-label-to-email.mjs +++ b/components/gmail/actions/add-label-to-email/add-label-to-email.mjs @@ -4,7 +4,7 @@ export default { key: "gmail-add-label-to-email", name: "Add Label to Email", description: "Add label(s) to an email message. [See the docs](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/modify)", - version: "0.0.13", + version: "0.0.14", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/gmail/actions/approve-workflow/approve-workflow.mjs b/components/gmail/actions/approve-workflow/approve-workflow.mjs index 48703b131fd26..3aec5d678af7c 100644 --- a/components/gmail/actions/approve-workflow/approve-workflow.mjs +++ b/components/gmail/actions/approve-workflow/approve-workflow.mjs @@ -4,7 +4,7 @@ export default { key: "gmail-approve-workflow", name: "Approve Workflow", description: "Suspend the workflow until approved by email. [See the documentation](https://pipedream.com/docs/code/nodejs/rerun#flowsuspend)", - version: "0.0.10", + version: "0.0.11", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/archive-email/archive-email.mjs b/components/gmail/actions/archive-email/archive-email.mjs index dbf457b82df09..38ac36c148f44 100644 --- a/components/gmail/actions/archive-email/archive-email.mjs +++ b/components/gmail/actions/archive-email/archive-email.mjs @@ -5,7 +5,7 @@ export default { key: "gmail-archive-email", name: "Archive Email", description: "Archive an email message. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/modify)", - version: "0.0.8", + version: "0.0.9", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/gmail/actions/create-label/create-label.mjs b/components/gmail/actions/create-label/create-label.mjs index 4ae23b31cf9dd..a346b46a1b0b1 100644 --- a/components/gmail/actions/create-label/create-label.mjs +++ b/components/gmail/actions/create-label/create-label.mjs @@ -6,7 +6,7 @@ export default { key: "gmail-create-label", name: "Create Label", description: "Create a new label in the connected account. [See the documentation](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/create)", - version: "0.0.2", + version: "0.0.3", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/delete-email/delete-email.mjs b/components/gmail/actions/delete-email/delete-email.mjs index 2708d5b05aadc..246be149508c7 100644 --- a/components/gmail/actions/delete-email/delete-email.mjs +++ b/components/gmail/actions/delete-email/delete-email.mjs @@ -5,7 +5,7 @@ export default { key: "gmail-delete-email", name: "Delete Email", description: "Moves the specified message to the trash. [See the documentation](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash)", - version: "0.0.2", + version: "0.0.3", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/gmail/actions/download-attachment/download-attachment.mjs b/components/gmail/actions/download-attachment/download-attachment.mjs index 7896f455caae0..723b274498db3 100644 --- a/components/gmail/actions/download-attachment/download-attachment.mjs +++ b/components/gmail/actions/download-attachment/download-attachment.mjs @@ -7,7 +7,7 @@ export default { key: "gmail-download-attachment", name: "Download Attachment", 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)", - version: "0.0.13", + version: "0.0.14", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/find-email/find-email.mjs b/components/gmail/actions/find-email/find-email.mjs index ff956fd034fcc..dc19aaab6c18e 100644 --- a/components/gmail/actions/find-email/find-email.mjs +++ b/components/gmail/actions/find-email/find-email.mjs @@ -5,7 +5,7 @@ export default { key: "gmail-find-email", name: "Find Email", description: "Find an email using Google's Search Engine. [See the docs](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/list)", - version: "0.1.7", + version: "0.1.8", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/get-send-as-alias/get-send-as-alias.mjs b/components/gmail/actions/get-send-as-alias/get-send-as-alias.mjs index 5a0b257f120d9..8135932a5c1b4 100644 --- a/components/gmail/actions/get-send-as-alias/get-send-as-alias.mjs +++ b/components/gmail/actions/get-send-as-alias/get-send-as-alias.mjs @@ -5,7 +5,7 @@ export default { key: "gmail-get-send-as-alias", name: "Get Send As Alias", description: "Get a send as alias for the authenticated user. [See the documentation](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.sendAs/get)", - version: "0.0.2", + version: "0.0.3", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/list-labels/list-labels.mjs b/components/gmail/actions/list-labels/list-labels.mjs index aaa14cc8a0c15..a68f3e3b4838b 100644 --- a/components/gmail/actions/list-labels/list-labels.mjs +++ b/components/gmail/actions/list-labels/list-labels.mjs @@ -4,7 +4,7 @@ export default { key: "gmail-list-labels", name: "List Labels", 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)", - version: "0.0.9", + version: "0.0.10", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/list-send-as-aliases/list-send-as-aliases.mjs b/components/gmail/actions/list-send-as-aliases/list-send-as-aliases.mjs index dc5aba9fd230d..e108f9fba3c44 100644 --- a/components/gmail/actions/list-send-as-aliases/list-send-as-aliases.mjs +++ b/components/gmail/actions/list-send-as-aliases/list-send-as-aliases.mjs @@ -4,7 +4,7 @@ export default { key: "gmail-list-send-as-aliases", name: "List Send As Aliases", description: "List all send as aliases for the authenticated user. [See the documentation](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.sendAs/list)", - version: "0.0.2", + version: "0.0.3", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs b/components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs index aa0f12448bef4..5478bcfb68d2f 100644 --- a/components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs +++ b/components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs @@ -4,7 +4,7 @@ export default { key: "gmail-remove-label-from-email", name: "Remove Label from Email", description: "Remove label(s) from an email message. [See the docs](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/modify)", - version: "0.0.11", + version: "0.0.12", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/gmail/actions/send-email/send-email.mjs b/components/gmail/actions/send-email/send-email.mjs index 7459bc5a4b3ff..00531de10823e 100644 --- a/components/gmail/actions/send-email/send-email.mjs +++ b/components/gmail/actions/send-email/send-email.mjs @@ -6,7 +6,7 @@ export default { key: "gmail-send-email", name: "Send Email", 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)", - version: "0.1.17", + version: "0.1.18", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/gmail/actions/update-org-signature/update-org-signature.mjs b/components/gmail/actions/update-org-signature/update-org-signature.mjs index ce9b3de582372..de36412542017 100644 --- a/components/gmail/actions/update-org-signature/update-org-signature.mjs +++ b/components/gmail/actions/update-org-signature/update-org-signature.mjs @@ -8,7 +8,7 @@ export default { name: "Update Signature for Email in Organization", description: `Update the signature for a specific email address in an organization. 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)`, - version: "0.0.12", + version: "0.0.13", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/gmail/actions/update-primary-signature/update-primary-signature.mjs b/components/gmail/actions/update-primary-signature/update-primary-signature.mjs index 597af41233ac2..aa1eda61b0658 100644 --- a/components/gmail/actions/update-primary-signature/update-primary-signature.mjs +++ b/components/gmail/actions/update-primary-signature/update-primary-signature.mjs @@ -4,7 +4,7 @@ export default { key: "gmail-update-primary-signature", name: "Update Signature for Primary Email Address", description: "Update the signature for the primary email address. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.settings.sendAs/update)", - version: "0.0.12", + version: "0.0.13", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/gmail/sources/new-attachment-received/new-attachment-received.mjs b/components/gmail/sources/new-attachment-received/new-attachment-received.mjs index 7070f647b3ec4..5e4529b8d7fbf 100644 --- a/components/gmail/sources/new-attachment-received/new-attachment-received.mjs +++ b/components/gmail/sources/new-attachment-received/new-attachment-received.mjs @@ -8,7 +8,7 @@ export default { key: "gmail-new-attachment-received", name: "New Attachment Received", description: "Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.", - version: "0.2.1", + version: "0.2.2", type: "source", dedupe: "unique", props: { diff --git a/components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs b/components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs index 5477ad5692183..550952fa70ee3 100644 --- a/components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs +++ b/components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs @@ -6,7 +6,7 @@ export default { key: "gmail-new-email-matching-search", name: "New Email Matching Search", description: "Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", props: { diff --git a/components/gmail/sources/new-email-received/new-email-received.mjs b/components/gmail/sources/new-email-received/new-email-received.mjs index bc12a99055b46..2cfd0fd6f53d6 100644 --- a/components/gmail/sources/new-email-received/new-email-received.mjs +++ b/components/gmail/sources/new-email-received/new-email-received.mjs @@ -15,7 +15,7 @@ export default { name: "New Email Received", description: "Emit new event when a new email is received.", type: "source", - version: "0.3.1", + version: "0.3.2", dedupe: "unique", props: { gmail, diff --git a/components/gmail/sources/new-labeled-email/new-labeled-email.mjs b/components/gmail/sources/new-labeled-email/new-labeled-email.mjs index 3ceea3528fc1f..f59d3d9441727 100644 --- a/components/gmail/sources/new-labeled-email/new-labeled-email.mjs +++ b/components/gmail/sources/new-labeled-email/new-labeled-email.mjs @@ -8,7 +8,7 @@ export default { name: "New Labeled Email", description: "Emit new event when a new email is labeled.", type: "source", - version: "0.1.1", + version: "0.1.2", dedupe: "unique", props: { gmail, diff --git a/components/gmail/sources/new-sent-email/new-sent-email.mjs b/components/gmail/sources/new-sent-email/new-sent-email.mjs index 9bae83bbf784a..9be664f098247 100644 --- a/components/gmail/sources/new-sent-email/new-sent-email.mjs +++ b/components/gmail/sources/new-sent-email/new-sent-email.mjs @@ -6,7 +6,7 @@ export default { key: "gmail-new-sent-email", name: "New Sent Email", description: "Emit new event for each new email sent. (Maximum of 100 events emited per execution)", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", props: { From 7bf443f31ce06d37c3a747387b8b2cffd16285ea Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Tue, 28 Oct 2025 10:13:53 -0400 Subject: [PATCH 3/3] package version --- components/gmail/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/gmail/package.json b/components/gmail/package.json index 05e714013cfd1..686558fca9de9 100644 --- a/components/gmail/package.json +++ b/components/gmail/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/gmail", - "version": "1.3.4", + "version": "1.3.5", "description": "Pipedream Gmail Components", "main": "gmail.app.mjs", "keywords": [