-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Gmail source improvements #15820
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
Gmail source improvements #15820
Conversation
- Make the trigger_type prop optional with default to polling - Make timer, labels, and exclude_labels props not hidden by default - Improve handling of webhooks & client verification - Add error handling and better UI flow for configuration - Fix ConfigurationError issues with topic creation and service account validation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
WalkthroughThis pull request updates version numbers for the Gmail component and its source file. In Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant N as NewEmailReceived Component
participant G as Gmail API
participant P as Pub/Sub Service
U->>N: Configure trigger (polling/webhook)
N->>G: Request email event/notification
G--)N: Return email event data
alt Webhook Mode
N->>N: Validate service account key and triggerType
N->>P: Request topic validation/creation
P--)N: Return topic details
else Polling Mode
N->>N: Setup polling timer
end
N->>U: Process and deliver email event
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
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
components/gmail/sources/new-email-received/new-email-received.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (16)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Chores
New Features