+ {/* Header: Name + Timestamp */}
+
+
+ {senderName || 'Unknown'}
+
+
+ {formatTimestamp(createdAt)}
+
+
+
+ {/* Attachment info */}
+
+ 📎
+ attached
+ handleAttachmentClick(attachmentId)}
+ style={filenameLinkStyle}
+ title={attachmentName}
+ >
+ {attachmentName}
+
+ {attachmentSize && (
+ ({formatFileSize(attachmentSize)})
+ )}
+
+