feat(api): support inline images in emails using Content-ID

This commit is contained in:
Shuvadipta Das
2026-01-31 10:23:42 +05:30
parent 0af79eb84b
commit c40394ffd6
4 changed files with 140 additions and 24 deletions
+2
View File
@@ -380,6 +380,8 @@ export const ActionSchemas = {
filename: z.string().min(1).max(255),
content: z.string().min(1), // Base64 encoded file content
contentType: z.string().min(1).max(255),
contentId: z.string().min(1).max(255).optional(),
disposition: z.enum(['attachment', 'inline']).default('attachment'),
}),
)
.max(10) // Maximum 10 attachments per email