Add Gmail and email bot scripts to repo
Some checks failed
Build and Deploy to Production / build-and-deploy (push) Has been cancelled

This commit is contained in:
schlaus
2026-02-13 12:20:19 +00:00
parent 4de8aa3237
commit c6453060a6
3 changed files with 628 additions and 0 deletions

32
scripts/README.md Normal file
View File

@@ -0,0 +1,32 @@
## OpenClaw Assistant Scripts
This directory contains helper scripts for the OpenClaw AI assistant.
### 📧 Gmail Integration (`gmail/`)
Email reading and sending capabilities.
**Setup:**
1. Create `~/.openclaw/credentials/gmail.json` with your credentials
2. Never commit credentials to git!
**Usage:**
```bash
# From repo root
./scripts/gmail/gmail.py list 10
```
### 🤖 Email Bot (`email_bot/`)
Two-way conversation monitoring and auto-reply.
**Usage:**
```bash
./scripts/email_bot/email_bot.py check
./scripts/email_bot/email_bot.py monitor
```
### ⚠️ Security Notes
- All credentials stored in `~/.openclaw/credentials/` (outside repo)
- Scripts reference credentials via absolute paths
- Never commit `.json` credential files
- App passwords can be revoked in Google Account settings anytime