From 3d241089ee42c18ff14edfa46901cadec69e2be6 Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Thu, 8 Jan 2026 10:56:51 -0500 Subject: [PATCH] feat: make room_id required in send_email tool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The room_id parameter is now required to ensure all outbound emails include the chat link footer, enabling email thread continuity. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- lib/emails/sendEmailSchema.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/emails/sendEmailSchema.ts b/lib/emails/sendEmailSchema.ts index 7411dd4d..42c0920e 100644 --- a/lib/emails/sendEmailSchema.ts +++ b/lib/emails/sendEmailSchema.ts @@ -28,8 +28,7 @@ export const sendEmailSchema = z.object({ .string() .describe( "Room ID to include in the email footer link. Use the active_conversation_id from context.", - ) - .optional(), + ), }); export type SendEmailInput = z.infer;