Rewrite Gmail tool: IMAP/SMTP + App Password (drop OAuth2)
Standard library only (imaplib, smtplib) — no google-api dependencies.
Auth via GMAIL_ADDRESS + GMAIL_APP_PASSWORD env vars.
Pagination via integer offset instead of page token.
Message IDs are IMAP UIDs (shown in list output).
html2text still used for HTML→plain conversion on read.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7d78ab9 commit 6cea9ab673de8ef439ab2f5a81adaa7dcbe32d38
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 16 Apr
Showing 2 changed files
View
tools/gmail.py
View
tools/gmail_auth.py 100644 → 0