Skip to content

[FIX] Gmail Upgraded lib version #17061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jcortes
Copy link
Collaborator

@jcortes jcortes commented Jun 11, 2025

WHY

Resolves #16990

Summary by CodeRabbit

  • Chores
    • Updated version numbers for multiple Gmail actions and sources.
    • Upgraded the Gmail component package version and updated dependencies.
  • Bug Fixes
    • Improved internal handling of message history IDs for Gmail polling, ensuring more accurate retrieval and processing of message histories.
  • New Features
    • Added a new method to fetch Gmail user profile information.

@jcortes jcortes self-assigned this Jun 11, 2025
Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Jun 13, 2025 1:52am
pipedream-docs ⬜️ Ignored (Inspect) Jun 13, 2025 1:52am
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) Jun 13, 2025 1:52am

Copy link
Contributor

coderabbitai bot commented Jun 11, 2025

Walkthrough

This update primarily increments version numbers across multiple Gmail component actions and sources. Additionally, the polling logic in polling-history.mjs is modified to fetch messages per label with inclusive logic, remove duplicates, sort messages by historyId descending, and improve error handling for expired history IDs. Package dependencies are also updated in package.json. A new async method getProfile was added to the Gmail app component.

Changes

File(s) Change Summary
components/gmail/actions/add-label-to-email/add-label-to-email.mjs
components/gmail/actions/approve-workflow/approve-workflow.mjs
components/gmail/actions/archive-email/archive-email.mjs
components/gmail/actions/create-draft/create-draft.mjs
components/gmail/actions/download-attachment/download-attachment.mjs
components/gmail/actions/find-email/find-email.mjs
components/gmail/actions/list-labels/list-labels.mjs
components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs
components/gmail/actions/send-email/send-email.mjs
components/gmail/actions/update-org-signature/update-org-signature.mjs
components/gmail/actions/update-primary-signature/update-primary-signature.mjs
components/gmail/sources/new-attachment-received/new-attachment-received.mjs
components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs
components/gmail/sources/new-email-received/new-email-received.mjs
components/gmail/sources/new-labeled-email/new-labeled-email.mjs
components/gmail/sources/new-sent-email/new-sent-email.mjs
Incremented version numbers in action and source metadata; no logic or functionality changes.
components/gmail/package.json Updated package version to 1.0.0, upgraded @googleapis/gmail dependency, and removed googleapis.
components/gmail/sources/common/polling-history.mjs Modified getHistoryId to fetch messages per label with inclusive logic and remove duplicates; changed sorting to descending by historyId; improved error handling in emitHistories for expired history IDs; updated message sorting in emitRecentMessages.
components/gmail/gmail.app.mjs Added new async method getProfile to fetch Gmail user profile from API.

Sequence Diagram(s)

sequenceDiagram
    participant Source as New Labeled Email Source
    participant Polling as polling-history.mjs
    participant GmailAPI as Gmail API

    Source->>Polling: Call getHistoryId()
    Polling->>GmailAPI: Fetch messages for each label (inclusive OR)
    GmailAPI-->>Polling: Return messages per label
    Polling->>Polling: Remove duplicate messages by ID
    Polling->>Polling: Sort messages by historyId (desc)
    Polling->>Source: Return latest historyId

    Source->>Polling: Call emitHistories(startHistoryId)
    Polling->>GmailAPI: Fetch history since startHistoryId (as string)
    GmailAPI-->>Polling: Return history or error
    alt HistoryId expired or not found
        Polling->>Polling: Log error, fetch fresh historyId
        Polling->>Polling: Update stored last history ID
        Polling-->>Source: Return early (skip processing)
    else Success
        Polling->>Polling: Update maxHistoryId
        Polling->>Source: Emit events if history exists
    end
Loading

Assessment against linked issues

Objective Addressed Explanation
Fix error in Gmail New Labeled Email trigger so it emits events after deployment (#16990)

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Version and dependency updates in package.json (components/gmail/package.json) Not directly related to the labeled email trigger bug, but generally part of maintenance.
Version bumps in unrelated actions and sources (various files) These version increments do not address the specific bug in the New Labeled Email trigger.
Addition of getProfile method in gmail.app.mjs This new method is unrelated to the bug fix for the New Labeled Email trigger.

Poem

A hop, a skip, a version jump—
The Gmail bunny thumps with glee!
Polling now with sharper eyes,
No more errors, no surprise.
From labeled mail to sent and draft,
Each trigger’s fixed, the code is daft!
🐇✨

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

components/gmail/actions/add-label-to-email/add-label-to-email.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:201:49)

components/gmail/actions/approve-workflow/approve-workflow.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:201:49)

components/gmail/actions/archive-email/archive-email.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:201:49)

  • 15 others

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2b138a3 and 9b71f3c.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (19)
  • components/gmail/actions/add-label-to-email/add-label-to-email.mjs (1 hunks)
  • components/gmail/actions/approve-workflow/approve-workflow.mjs (1 hunks)
  • components/gmail/actions/archive-email/archive-email.mjs (1 hunks)
  • components/gmail/actions/create-draft/create-draft.mjs (1 hunks)
  • components/gmail/actions/download-attachment/download-attachment.mjs (1 hunks)
  • components/gmail/actions/find-email/find-email.mjs (1 hunks)
  • components/gmail/actions/list-labels/list-labels.mjs (1 hunks)
  • components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs (1 hunks)
  • components/gmail/actions/send-email/send-email.mjs (1 hunks)
  • components/gmail/actions/update-org-signature/update-org-signature.mjs (1 hunks)
  • components/gmail/actions/update-primary-signature/update-primary-signature.mjs (1 hunks)
  • components/gmail/gmail.app.mjs (1 hunks)
  • components/gmail/package.json (2 hunks)
  • components/gmail/sources/common/polling-history.mjs (3 hunks)
  • components/gmail/sources/new-attachment-received/new-attachment-received.mjs (1 hunks)
  • components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs (1 hunks)
  • components/gmail/sources/new-email-received/new-email-received.mjs (1 hunks)
  • components/gmail/sources/new-labeled-email/new-labeled-email.mjs (1 hunks)
  • components/gmail/sources/new-sent-email/new-sent-email.mjs (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (19)
  • components/gmail/actions/archive-email/archive-email.mjs
  • components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs
  • components/gmail/gmail.app.mjs
  • components/gmail/actions/update-org-signature/update-org-signature.mjs
  • components/gmail/actions/add-label-to-email/add-label-to-email.mjs
  • components/gmail/actions/list-labels/list-labels.mjs
  • components/gmail/actions/approve-workflow/approve-workflow.mjs
  • components/gmail/actions/download-attachment/download-attachment.mjs
  • components/gmail/sources/new-attachment-received/new-attachment-received.mjs
  • components/gmail/actions/send-email/send-email.mjs
  • components/gmail/sources/new-sent-email/new-sent-email.mjs
  • components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs
  • components/gmail/actions/update-primary-signature/update-primary-signature.mjs
  • components/gmail/actions/create-draft/create-draft.mjs
  • components/gmail/sources/new-email-received/new-email-received.mjs
  • components/gmail/package.json
  • components/gmail/sources/new-labeled-email/new-labeled-email.mjs
  • components/gmail/actions/find-email/find-email.mjs
  • components/gmail/sources/common/polling-history.mjs
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: Publish TypeScript components
  • GitHub Check: Verify TypeScript components
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
components/gmail/sources/common/polling-history.mjs (2)

45-46: Redundant API round-trip

You already fetched historyId for every message in messagesWithHistoryId.
Re-calling gmail.getMessage for the same ID adds latency and quota usage.

-const { historyId } = await this.gmail.getMessage({
-  id: sortedMessages[0].id,
-});
-return historyId;
+return sortedMessages[0].historyId;

69-70: historyId may be undefined – guard before Math.max

listHistory can return { historyId: undefined } when no matching history exists.
Passing undefined to Math.max will yield NaN, breaking the subsequent comparison.

-maxHistoryId = Math.max(maxHistoryId, historyId);
+if (historyId) {
+  maxHistoryId = Math.max(maxHistoryId, Number(historyId));
+}
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 101957f and 72984e0.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (18)
  • components/gmail/actions/add-label-to-email/add-label-to-email.mjs (1 hunks)
  • components/gmail/actions/approve-workflow/approve-workflow.mjs (1 hunks)
  • components/gmail/actions/archive-email/archive-email.mjs (1 hunks)
  • components/gmail/actions/create-draft/create-draft.mjs (1 hunks)
  • components/gmail/actions/download-attachment/download-attachment.mjs (1 hunks)
  • components/gmail/actions/find-email/find-email.mjs (1 hunks)
  • components/gmail/actions/list-labels/list-labels.mjs (1 hunks)
  • components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs (1 hunks)
  • components/gmail/actions/send-email/send-email.mjs (1 hunks)
  • components/gmail/actions/update-org-signature/update-org-signature.mjs (1 hunks)
  • components/gmail/actions/update-primary-signature/update-primary-signature.mjs (1 hunks)
  • components/gmail/package.json (2 hunks)
  • components/gmail/sources/common/polling-history.mjs (2 hunks)
  • components/gmail/sources/new-attachment-received/new-attachment-received.mjs (1 hunks)
  • components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs (1 hunks)
  • components/gmail/sources/new-email-received/new-email-received.mjs (1 hunks)
  • components/gmail/sources/new-labeled-email/new-labeled-email.mjs (1 hunks)
  • components/gmail/sources/new-sent-email/new-sent-email.mjs (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: Lint Code Base
  • GitHub Check: pnpm publish
  • GitHub Check: Publish TypeScript components
  • GitHub Check: Verify TypeScript components
🔇 Additional comments (17)
components/gmail/actions/download-attachment/download-attachment.mjs (1)

10-10: Bump action version to 0.0.8
Version increment from 0.0.7 to 0.0.8 aligns with the coordinated release across Gmail actions.

components/gmail/actions/list-labels/list-labels.mjs (1)

7-7: Bump action version to 0.0.5
Version updated from 0.0.4 to 0.0.5 in sync with other Gmail component actions.

components/gmail/actions/archive-email/archive-email.mjs (1)

8-8: Bump action version to 0.0.4
Version increment from 0.0.3 to 0.0.4 maintains consistency with the Gmail component’s coordinated versioning.

components/gmail/actions/update-primary-signature/update-primary-signature.mjs (1)

7-7: Bump action version to 0.0.8
Updated from 0.0.7 to 0.0.8 to match the unified versioning across Gmail actions.

components/gmail/sources/new-attachment-received/new-attachment-received.mjs (1)

9-9: Bump source version to 0.0.13
Version updated from 0.0.12 to 0.0.13, consistent with the batch version upgrades for Gmail sources.

components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs (1)

9-9: Approve version bump to 0.0.11
Version increment aligns with the overall Gmail component release plan.

components/gmail/actions/approve-workflow/approve-workflow.mjs (1)

7-7: Approve version bump to 0.0.6
This minor version update is consistent with the PR’s coordinated versioning strategy.

components/gmail/actions/find-email/find-email.mjs (1)

9-9: Approve version bump to 0.1.2
The version update correctly reflects the patch release for this action.

components/gmail/sources/new-labeled-email/new-labeled-email.mjs (1)

11-11: Approve version bump to 0.0.13
Matches the unified versioning scheme across Gmail sources.

components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs (1)

7-7: Approve version bump to 0.0.7
Consistent with the coordinated release of the Gmail component.

components/gmail/actions/send-email/send-email.mjs (1)

9-9: Approve version bump of send-email action

Version updated from 0.1.11 to 0.1.12.

components/gmail/actions/add-label-to-email/add-label-to-email.mjs (1)

7-7: Approve version bump of add-label-to-email action

Version updated from 0.0.9 to 0.0.10.

components/gmail/actions/create-draft/create-draft.mjs (1)

9-9: Approve version bump of create-draft action

Version updated from 0.1.3 to 0.1.4.

components/gmail/sources/new-email-received/new-email-received.mjs (1)

18-18: Approve version bump of new-email-received source

Version updated from 0.2.5 to 0.2.6.

components/gmail/actions/update-org-signature/update-org-signature.mjs (1)

11-11: Approve version bump of update-org-signature action

Version updated from 0.0.7 to 0.0.8.

components/gmail/sources/new-sent-email/new-sent-email.mjs (1)

9-9: Version bump looks fine.

No functional impact – just a metadata update. ✅

components/gmail/package.json (1)

3-4:

❓ Verification inconclusive

Major dependency jump – please validate API compatibility and run full test suite

Going from @googleapis/[email protected] to 13.x is a 10-major-version leap. Google’s generated clients frequently introduce breaking changes (method signatures, auth flow, response shapes).

Likewise, the component itself is now 1.0.0, implying stability – ensure the surface really is unchanged.

Follow-up checks you should confirm before merging:

  1. All internal wrappers (gmail.*) compile against the new types.
  2. Integration tests for every Gmail action/source still succeed.
  3. The removal of the generic googleapis package doesn’t leave dead imports.

Also applies to: 18-18


🏁 Script executed:

#!/bin/bash
# Quick scan for any still-existing imports from the removed package
rg --line-number --context 2 $'from .*googleapis' || true

Length of output: 8074


🏁 Script executed:

#!/bin/bash
# Specific search for any remaining imports from the generic “googleapis” package within the Gmail component
rg --line-number --context 2 -e "from ['\"]googleapis['\"]" components/gmail || true

Length of output: 89


Major dependency jump – validate API compatibility and run full test suite

File: components/gmail/package.json
Lines: 3–4

Snippet:

  "version": "1.0.0",
  "description": "Pipedream Gmail Components",

Going from @googleapis/[email protected]13.x is a 10-major-version leap. Google’s generated clients frequently introduce breaking changes (method signatures, auth flow, response shapes). Likewise, bumping the component to 1.0.0 signals stability—ensure the public surface is unchanged.

Follow-up checks before merging:

  1. All internal wrappers (gmail.*) compile cleanly against the new types.
  2. Integration tests for every Gmail action/source still succeed.
  3. No remaining imports of the generic googleapis package in components/gmail (only import gmail from "@googleapis/gmail").

luancazarine
luancazarine previously approved these changes Jun 11, 2025
Copy link
Collaborator

@luancazarine luancazarine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jcortes, LGTM! Ready for QA!

@jcortes jcortes force-pushed the fix-new-labeled-email-trigger-throwing-errors-once-deployed branch 2 times, most recently from e1f32e0 to 2b138a3 Compare June 12, 2025 21:27
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
components/gmail/gmail.app.mjs (1)

400-405: Consider adding the same retry / error-handling strategy used elsewhere

getProfile() makes a direct API call without the exponential-backoff wrapper you already apply in getMessage() (line 386) and other latency-sensitive areas. In practice, the profile endpoint can also return transient 429/5xx errors. Aligning the resilience pattern keeps behaviour consistent and prevents flakiness.

-  async getProfile() {
-    const { data } = await this._client().users.getProfile({
-      userId: constants.USER_ID,
-    });
-    return data;
-  },
+  async getProfile() {
+    const fn = () => this._client().users.getProfile({
+      userId: constants.USER_ID,
+    });
+    const { data } = await this.retryWithExponentialBackoff(fn);
+    return data;
+  },

Run the existing unit/integration tests or trigger the component manually to ensure the refactor doesn’t introduce regressions.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 72984e0 and 2b138a3.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (19)
  • components/gmail/actions/add-label-to-email/add-label-to-email.mjs (1 hunks)
  • components/gmail/actions/approve-workflow/approve-workflow.mjs (1 hunks)
  • components/gmail/actions/archive-email/archive-email.mjs (1 hunks)
  • components/gmail/actions/create-draft/create-draft.mjs (1 hunks)
  • components/gmail/actions/download-attachment/download-attachment.mjs (1 hunks)
  • components/gmail/actions/find-email/find-email.mjs (1 hunks)
  • components/gmail/actions/list-labels/list-labels.mjs (1 hunks)
  • components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs (1 hunks)
  • components/gmail/actions/send-email/send-email.mjs (1 hunks)
  • components/gmail/actions/update-org-signature/update-org-signature.mjs (1 hunks)
  • components/gmail/actions/update-primary-signature/update-primary-signature.mjs (1 hunks)
  • components/gmail/gmail.app.mjs (1 hunks)
  • components/gmail/package.json (2 hunks)
  • components/gmail/sources/common/polling-history.mjs (3 hunks)
  • components/gmail/sources/new-attachment-received/new-attachment-received.mjs (1 hunks)
  • components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs (1 hunks)
  • components/gmail/sources/new-email-received/new-email-received.mjs (1 hunks)
  • components/gmail/sources/new-labeled-email/new-labeled-email.mjs (1 hunks)
  • components/gmail/sources/new-sent-email/new-sent-email.mjs (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • components/gmail/sources/new-sent-email/new-sent-email.mjs
  • components/gmail/actions/update-org-signature/update-org-signature.mjs
  • components/gmail/package.json
🚧 Files skipped from review as they are similar to previous changes (15)
  • components/gmail/actions/download-attachment/download-attachment.mjs
  • components/gmail/actions/approve-workflow/approve-workflow.mjs
  • components/gmail/actions/archive-email/archive-email.mjs
  • components/gmail/actions/remove-label-from-email/remove-label-from-email.mjs
  • components/gmail/sources/new-attachment-received/new-attachment-received.mjs
  • components/gmail/actions/list-labels/list-labels.mjs
  • components/gmail/sources/new-labeled-email/new-labeled-email.mjs
  • components/gmail/actions/send-email/send-email.mjs
  • components/gmail/sources/new-email-matching-search/new-email-matching-search.mjs
  • components/gmail/actions/find-email/find-email.mjs
  • components/gmail/sources/new-email-received/new-email-received.mjs
  • components/gmail/actions/update-primary-signature/update-primary-signature.mjs
  • components/gmail/actions/add-label-to-email/add-label-to-email.mjs
  • components/gmail/actions/create-draft/create-draft.mjs
  • components/gmail/sources/common/polling-history.mjs
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: Publish TypeScript components
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
  • GitHub Check: Verify TypeScript components

@jcortes jcortes force-pushed the fix-new-labeled-email-trigger-throwing-errors-once-deployed branch from 2b138a3 to 9b71f3c Compare June 13, 2025 01:52
@jcortes
Copy link
Collaborator Author

jcortes commented Jun 13, 2025

/approve

@danhsiung danhsiung merged commit dc47289 into master Jun 13, 2025
11 checks passed
@danhsiung danhsiung deleted the fix-new-labeled-email-trigger-throwing-errors-once-deployed branch June 13, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Gmail New Labeled Email trigger is throwing errors once deployed
3 participants