feat: Gmail-style email block with inbox container layout (#531)

* feat: restyle email block with Gmail-style layout and avatar

* style: apply Google Sans/Roboto font to email block

* feat: add Gmail inbox-style multi-email block with accordion rows

* style: fix sender name casing, weight, and email display in expanded view

* feat: emails inbox block with container layout, two-line rows, Gmail title style
This commit is contained in:
gagan 2026-05-06 21:41:26 +05:30 committed by GitHub
parent 3630032d21
commit 0e3d058c29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 899 additions and 363 deletions

View file

@ -101,6 +101,13 @@ export const EmailBlockSchema = z.object({
export type EmailBlock = z.infer<typeof EmailBlockSchema>;
export const EmailsBlockSchema = z.object({
title: z.string().optional(),
emails: z.array(EmailBlockSchema),
});
export type EmailsBlock = z.infer<typeof EmailsBlockSchema>;
export const TranscriptBlockSchema = z.object({
transcript: z.string(),
});