                    </td>
                                </tr>
                            `);
                        }
                    }
                }
            );
        }

        function viewEmail(id, from, subject, date) {
          const { user, domain } = getUserAndDomain();

          if (!user || !domain) return;

          $.getJSON(
            `https://www.1secmail.com/api/v1/?action=readMessage&login=${user}&domain=${domain}&id=${id}`,
            (email) => {
              const 