diff --git a/app/mail/page.tsx b/app/mail/page.tsx index fcb3a51..9a14800 100644 --- a/app/mail/page.tsx +++ b/app/mail/page.tsx @@ -390,6 +390,20 @@ function decodeMimeContent(content: string): string { return cleanHtml(content); } +// Add this helper function +const renderEmailContent = (email: Email) => { + const decodedContent = decodeMimeContent(email.body); + if (email.body.includes('Content-Type: text/html')) { + return
; + } + return