"Create Webhook" button is disabled when selecting message-related topics in Notifications

Hello Nylas Team, My name is Harry!

I’m writing to you because I’m in the process of expanding our application’s scope from gmail.send to include gmail.readonly. The primary goal of this expansion is to track bounce and reply metrics.

To develop this feature and create a demo video, I have set up a test environment, which includes a new GCP project and a Nylas App in the “Development” environment. However, I’ve encountered an issue while trying to create a webhook. I noticed that the “Create Webhook” button becomes disabled as soon as I select any of the topics under the “Message” category.

This issue does not occur in our existing production Nylas app. Could this be happening because the Publishing status of our new, development-only GCP project is set to “Testing”?

I would appreciate it if you could help me understand the cause of this issue so we can resolve it as quickly as possible.

Thank you!

When I executed the code with nylas.webhooks.create in the Python SDK, I was able to successfully create webhooks within the desired scope!

Hey @Harry , glad to hear you’re unblocked - the reason for this might be because your app doesn’t have Google Pub/Sub set up (which I wouldn’t expect you to have since you were just using send scopes before). We use Google Pub/Sub for better performance & speed of webhook delivery for changes to the mailbox.

We’ve got instructions on Setting up Google Pub/Sub | Docs for how to set up pub/sub but if you have questions feel free to ask them here too!