<?php
require_once __DIR__ . '/includes/functions.php';
$stmt = getDB()->query("SELECT id, email, status, gmail_connected FROM users LIMIT 10");
$users = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo json_encode($users, JSON_PRETTY_PRINT);
