Email Setup
此内容尚不支持你的语言。
Overview
Section titled “Overview”Enable Clawdbot to monitor an email inbox and respond to messages using Claude.
Prerequisites
Section titled “Prerequisites”- Clawdbot installed
- Email account with IMAP/SMTP access
- App-specific password (for Gmail, etc.)
-
Get IMAP/SMTP credentials
For Gmail:
- Enable 2FA
- Generate App Password
- Note IMAP/SMTP settings
-
Configure Clawdbot
Terminal window EMAIL_ENABLED=trueEMAIL_IMAP_SERVER=imap.gmail.comEMAIL_SMTP_SERVER=smtp.gmail.comEMAIL_ADDRESS=your@gmail.comEMAIL_PASSWORD=your-app-password -
Start Clawdbot
Terminal window python -m clawdbot
Configuration
Section titled “Configuration”EMAIL_ENABLED=true
# IMAP settings (receiving)EMAIL_IMAP_SERVER=imap.gmail.comEMAIL_IMAP_PORT=993
# SMTP settings (sending)EMAIL_SMTP_SERVER=smtp.gmail.comEMAIL_SMTP_PORT=587
# CredentialsEMAIL_ADDRESS=your@email.comEMAIL_PASSWORD=app-password
# Poll interval (seconds)EMAIL_POLL_INTERVAL=60
# Allowed senders (empty = all)EMAIL_ALLOWED_SENDERS=friend@email.comCommon Email Providers
Section titled “Common Email Providers”| Provider | IMAP Server | SMTP Server |
|---|---|---|
| Gmail | imap.gmail.com | smtp.gmail.com |
| Outlook | outlook.office365.com | smtp.office365.com |
| Yahoo | imap.mail.yahoo.com | smtp.mail.yahoo.com |