function sendEmails() { const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); const data = sheet.getDataRange().getValues(); for (let i = 0; i < data.length; i++) { const row = data[i]; const email = row[0]; const username = row[1]; const password = row[2]; if (email) { const subject = "ICPC Minya — Creativa Wi-Fi Credentials"; const htmlMessage = `
Dear Participant,
Welcome to the ICPC Minya session at Creativa Hub!
Here are your personal Wi-Fi credentials:
⚠️ Please note:
Best regards,
ICPC Minya Team