feat: Gmail IMAP email integration with voice intents

- email.php: IMAP reader for Gmail/Outlook/iCloud with 5-min cache
- api.php: add /api/email route
- chat.php: email voice intents — check count, read recent, filter by sender
- config.php: Gmail credentials (gitignored)
This commit is contained in:
2026-05-31 06:20:15 +00:00
parent 18a3d864d3
commit 8d2c1948bb
3 changed files with 222 additions and 0 deletions
+3
View File
@@ -72,6 +72,9 @@ switch ($endpoint) {
case 'tts':
require __DIR__ . '/../api/endpoints/tts.php';
break;
case 'email':
require __DIR__ . '/../api/endpoints/email.php';
break;
case 'do':
require __DIR__ . '/../api/endpoints/do_server.php';
break;