         <span>Refresh</span>
            </button>
            <button onclick="genEmail()" class="bg-gray-800 text-green-500 px-4 py-2 rounded-lg shadow-md flex items-center justify-center space-x-2 hover:bg-gray-700">
                <i class="fas fa-exchange-alt"></i>
                <span>Change</span>
            </button>
        </div>

        <div class="bg-gray-800 rounded-lg shadow-lg p-4 flex-grow overflow-x-auto">
            <table class="w-full table-auto">
                <thead>
          