agentlife-email
v0.1.0
Published
Email management plugin for OpenClaw — Gmail + IMAP/SMTP with OAuth2
Maintainers
Readme
agentlife-email
Email management plugin for OpenClaw. Connect Gmail or any IMAP/SMTP account and let your AI agent read, search, and send emails on your behalf.
Install
openclaw plugins install agentlife-emailSetup
Just tell your agent:
"Connect my Gmail"
The agent will walk you through it — either one-click Google OAuth or a simple app password. That's it.
Features
- Gmail OAuth — one-click authorization, no manual config
- App Password — fallback for quick setup
- Read inbox — fetch and cache recent emails
- Search — find emails by keyword
- Send — compose and send new emails
- Reply — reply to existing threads
- Drafts — save drafts locally
- Multi-account — connect multiple email accounts
Agent Tool
The plugin registers an email_manage tool with these actions:
| Action | Description |
|--------|-------------|
| setup | Connect Gmail with app password |
| setup_oauth | Connect Gmail with one-click OAuth |
| accounts | List connected accounts |
| sync | Fetch latest emails from server |
| inbox | List cached emails |
| read | Read full email content |
| search | Search emails by keyword |
| send | Send a new email |
| reply | Reply to an email |
| draft | Save a draft |
For Developers
If you want to enable OAuth for your users, add your Google OAuth credentials to the plugin config in openclaw.json:
{
"plugins": {
"entries": {
"agentlife-email": {
"enabled": true
}
}
}
}OAuth credentials are configured via the plugin's settings DB or environment.
License
MIT
