Add Gmail and email bot scripts to repo
Some checks failed
Build and Deploy to Production / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy to Production / build-and-deploy (push) Has been cancelled
This commit is contained in:
32
scripts/README.md
Normal file
32
scripts/README.md
Normal 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
|
||||
Reference in New Issue
Block a user