Skip to content

Update from code changes: document mail replyTo and stricter validation - #406

Merged
yash-pouranik merged 1 commit into
mainfrom
mintlify/6dc16288
Sep 11, 2026
Merged

yash-pouranik merged 1 commit into
mainfrom
mintlify/6dc16288

Conversation

@mintlify

@mintlify mintlify Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new optional replyTo field and the tighter Zod validation now enforced by POST /api/mail/send and POST /api/mail/send-batch.

Changes

  • api-reference/mail/send.mdx: added replyTo param (single or array), expanded validation rules and the errors table with the new exact messages, added replyTo to the direct-mode example.
  • sdk/mail.mdx: added replyTo to the SendMailPayload table and to the direct-mode example.
  • guides/mail-platform.mdx: added replyTo to the single-send schema; rewrote the /api/mail/send-batch schema to describe the strict per-item validation (1..100 items, per-recipient email validation, subject required, html/text required, no templates); refreshed the error reference rows for both endpoints with the new messages (Recipient list cannot be empty, Reply-to list cannot be empty, Subject is required, Provide html or text, Batch cannot be empty, Max 100 emails per batch); added replyTo to the batch example and overview bullets.

Context

Follows source PR geturbackend/urbackend#402 — "feat(mail): add replyTo support to sendMail and sendBatchMail".

@mintlify
mintlify Bot requested a review from yash-pouranik as a code owner September 11, 2026 05:18
@mintlify

mintlify Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
urbackend 🟢 Ready View Preview Sep 11, 2026, 5:18 AM

@yash-pouranik
yash-pouranik temporarily deployed to mintlify/6dc16288 - urBackend-frankfrut PR #406 September 11, 2026 05:18 — with Render Destroyed
@vercel

vercel Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ur-backend-web-dashboard Ready Ready Preview Sep 11, 2026 5:18am UTC
urbackend Ready Ready Preview Sep 11, 2026 5:18am UTC

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 63d70bf2-a894-4a69-a480-11e7a49f9382

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yash-pouranik
yash-pouranik merged commit 43b7d7d into main Sep 11, 2026
11 of 13 checks passed

This branch was successfully deployed

3 active deployments
staging - mintlify/docs — e79827f4 Deployed Sep 11, 2026 by mintlify[bot]
Preview – ur-backend-web-dashboard — e79827f4 Deployed Sep 11, 2026 by vercel[bot]
mintlify/6dc16288 - urBackend-frankfrut PR #406 — e79827f4 Deployed Sep 11, 2026 by yash-pouranik
Preview – urbackend — e79827f4 Deployed Sep 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant