Docs: add comprehensive Mail Platform guide (BYOK, batch, logs, audiences/contacts, broadcasts, webhooks)#178
Conversation
Agent-Logs-Url: https://github.com/geturbackend/urBackend/sessions/baf6f95e-1b45-4f0e-9075-37ec86eeb8be Co-authored-by: yash-pouranik <172860064+yash-pouranik@users.noreply.github.com>
|
@copilot |
There are changes in this branch at commit
I also verified the diff from base ( |
|
@coderabbitai |
There was a problem hiding this comment.
Pull request overview
Adds a new Mintlify “Mail Platform” guide and wires it into documentation navigation and the existing mail send API reference, aiming to provide end-to-end documentation for the expanded Mail feature set introduced in #172/#175.
Changes:
- Added a comprehensive
guides/mail-platformMDX guide covering setup, sending, logs, audiences/contacts, broadcasts, and webhooks. - Updated Mintlify navigation to include the new guide under “Guides”.
- Added an Info callout in the mail send API reference linking to the full platform guide.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| mintlify/docs/guides/mail-platform.mdx | New comprehensive Mail Platform guide and examples. |
| mintlify/docs/docs.json | Adds guides/mail-platform to the Guides navigation group. |
| mintlify/docs/api-reference/mail/send.mdx | Adds a callout linking readers to the full Mail Platform guide. |
Comments suppressed due to low confidence (1)
mintlify/docs/guides/mail-platform.mdx:494
- This event mapping table includes
email.failed → failed, but the current webhook handler does not set a status foremail.failed(and it does setemail.sent → sent). Please adjust the mapping to reflect the implemented statuses, or update the handler to coveremail.failedif you wantfailedto be persisted from webhooks.
### Event mapping to `MailLog.status`
| Resend event type | MailLog status |
|---|---|
| `email.delivered` | `delivered` |
| `email.bounced` | `bounced` |
| `email.complained` | `complained` |
| `email.failed` | `failed` |
| `email.delivery_delayed` | `queued` |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 7649
✅ Ready to merge from a technical standpoint:
If you're comfortable with that, the PR looks good to go. Would you like me to approve it? |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@copilot apply changes based on the comments in this thread |
Agent-Logs-Url: https://github.com/geturbackend/urBackend/sessions/9780da1e-1d6c-4d54-8f41-a51ff2677c65 Co-authored-by: yash-pouranik <172860064+yash-pouranik@users.noreply.github.com>
Agent-Logs-Url: https://github.com/geturbackend/urBackend/sessions/9780da1e-1d6c-4d54-8f41-a51ff2677c65 Co-authored-by: yash-pouranik <172860064+yash-pouranik@users.noreply.github.com>
Done — I applied the review-thread changes in |
|
@coderabbitai |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainLet me check the review thread and the current state of the files. 🏁 Script executed: Length of output: 90964
The PR looks good to merge from a docs-accuracy standpoint. Would you like me to approve it? |
|
but comments are not resolved yet?? |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainLet me check which review threads are still open on the PR. 🏁 Script executed: Length of output: 11334
Important: These are Copilot's review threads, not mine — I can only resolve my own (CodeRabbit) comments programmatically. You'll need to manually resolve these three threads on GitHub by clicking "Resolve conversation" on each one, once you're satisfied the fixes were applied correctly. The code changes Copilot SWE agent made (commits |
|
yes please |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainSure! Let me re-read the current state of 🏁 Script executed: Length of output: 17472
The docs are accurate. The only remaining step is to manually click "Resolve conversation" on those three Copilot threads in GitHub, since I can only programmatically resolve my own CodeRabbit comments. Once you do that, the PR is ready to merge. Would you like me to approve it? |
This PR adds a developer-first Mail Platform documentation set for the Mail feature expansion introduced in #172, covering end-to-end workflows from setup and sending to delivery observability and webhook reconciliation. It also makes the new guide discoverable from Mintlify navigation and links it from the existing mail send API reference.
New guide:
guides/mail-platformmintlify/docs/guides/mail-platform.mdx.API surface documentation expansion
/api/mail/send,/api/mail/send-batch/api/mail/logs,/api/mail/logs/:resendId/api/mail/audiences*,/api/mail/audiences/:audienceId/contacts*/api/mail/broadcasts*/api/mail/webhookDocs IA / discoverability updates
guides/mail-platformto Mintlify navigation inmintlify/docs/docs.json(Guides section).mintlify/docs/api-reference/mail/send.mdxto route users from single-send docs to the full platform guide.