             for (const email of emails) {
                            emailsElement.append(`
                                <tr>
                                    <td class="p-2 text-xs sm:text-sm break-words">
                                        <a href="javascript:void(0)" onclick="viewEmail('${email.id}', '${email.from}', '${email.subject}', '${email.date}')">
                                            ${email.subject} - ${email.from}
                                        </a>
                