The Gmail plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).Documentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
Webhook map
messageChanged(messageChanged)
HTTP handler setup
app/api/webhook/route.ts
Events
Message Changed
Message Changed
messageChanged
A Gmail message was received, deleted, or had its labels changed
Payload
| Name | Type | Required | Description |
|---|---|---|---|
message | object | No | — |
subscription | string | No | — |
event | any | No | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example