API by router
Email inbound
Gmail Push Webhook
Receive Gmail Pub/Sub push notification.
Google sends: { message: { data: base64(JSON), messageId, publishTime }, subscription } Verified by checking the subscription matches our expected Pub/Sub subscription name.
Response Body
curl -X POST "https://loading/v1/hooks/email/gmail"nullResend Inbound Webhook
Receive Resend inbound email webhook with signature verification.
Resend signs webhooks with a shared secret. We verify the signature before processing. See: https://resend.com/docs/webhooks
Response Body
curl -X POST "https://loading/v1/hooks/email/resend"null