feat: project EmailReadView for email-banner slot, expose auth results

This commit is contained in:
Linus Rath
2026-05-05 20:31:11 +02:00
parent 265908b05b
commit da411af6d3
4 changed files with 39 additions and 20 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ import { Button } from "@/components/ui/button";
import { Avatar } from "@/components/ui/avatar";
import { formatFileSize, cn, buildMailboxTree, MailboxNode, formatDateTime, generateUUID } from "@/lib/utils";
import { getSecurityStatus, extractListHeaders } from "@/lib/email-headers";
import { emailToReadView } from "@/lib/plugin-projection";
import {
Reply,
ReplyAll,
@@ -4886,7 +4887,7 @@ export function EmailViewer({
<div>
<PluginSlot name="email-banner" extraProps={{ email }} />
<PluginSlot name="email-banner" extraProps={{ email: emailToReadView(email) }} />
{/* Email Body */}
<div className={cn(