diff --git a/components/ComposeEmail.tsx b/components/ComposeEmail.tsx
index a2eb300d..9ba66c25 100644
--- a/components/ComposeEmail.tsx
+++ b/components/ComposeEmail.tsx
@@ -83,26 +83,39 @@ export default function ComposeEmail({
useEffect(() => {
if (composeBodyRef.current && !isInitialized) {
- // Initialize the content structure with both new reply area and original content in a single contentEditable div
- const content = replyTo || forwardFrom ? `
-
- ${forwardFrom ? `
- ---------- Forwarded message ---------
- From: ${forwardFrom.from}
- Date: ${new Date(forwardFrom.date).toLocaleString()}
- Subject: ${forwardFrom.subject}
- To: ${forwardFrom.to}
- ${forwardFrom.cc ? `Cc: ${forwardFrom.cc}
` : ''}
-
- ` : `
- On ${new Date(replyTo?.date || '').toLocaleString()}, ${replyTo?.from} wrote:
- `}
-
- ${composeBody}
-
-
- ` : `
+ ${forwardFrom ? `
+
+ ---------- Forwarded message ---------
+ From: ${forwardFrom.from}
+ Date: ${new Date(forwardFrom.date).toLocaleString()}
+ Subject: ${forwardFrom.subject}
+ To: ${forwardFrom.to}
+ ${forwardFrom.cc ? `Cc: ${forwardFrom.cc}
` : ''}
+
+ ` : `
+
+ On ${new Date(replyTo?.date || '').toLocaleString()}, ${replyTo?.from} wrote:
+
+ `}
+
+ ${originalContent}
+
+
+ `;
+ } else {
+ // For new messages
+ content = `