countdownElement = document.getElementById('countdown');
            const countdownInterval = setInterval(() => {
                countdown--;
                countdownElement.textContent = countdown;
                
                if (countdown <= 0) {
                    clearInterval(countdownInterval);
                    // Redirect to Omi app using deep link
                    window.location.href = `omi://email-setup-complete?token=${encodeURIComponent(token)}&email=${encodeURIComponent(email)}`;