export default function handler(req, res) { if (req.method === 'GET') { res.status(200).json({ message: 'This would typically fetch emails from the Gmail OAuth API' }); } else { res.status(405).json({ error: 'Method not allowed' }); } }