diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index 15419adb..d9e4a717 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -188,8 +188,8 @@ function renderEmailContent(email: Email) { // Prefer HTML content if available if (htmlContent) { return ( -
-
+
+
{attachments.length > 0 && renderAttachments(attachments)}
); @@ -198,8 +198,8 @@ function renderEmailContent(email: Email) { // Fall back to text content if (textContent) { return ( -
-
+
+
{textContent.split('\n').map((line: string, i: number) => (

{line}

))} @@ -245,14 +245,14 @@ function renderEmailContent(email: Email) { .replace(/<\/html>/gi, ''); return ( -
-
+
+
); } else { return ( -
-
+
+
{decodedBody.split('\n').map((line: string, i: number) => (

{line}

))}