跳转到内容

Email Setup

此内容尚不支持你的语言。

Enable Clawdbot to monitor an email inbox and respond to messages using Claude.

  • Clawdbot installed
  • Email account with IMAP/SMTP access
  • App-specific password (for Gmail, etc.)
  1. Get IMAP/SMTP credentials

    For Gmail:

    • Enable 2FA
    • Generate App Password
    • Note IMAP/SMTP settings
  2. Configure Clawdbot

    Terminal window
    EMAIL_ENABLED=true
    EMAIL_IMAP_SERVER=imap.gmail.com
    EMAIL_SMTP_SERVER=smtp.gmail.com
    EMAIL_ADDRESS=your@gmail.com
    EMAIL_PASSWORD=your-app-password
  3. Start Clawdbot

    Terminal window
    python -m clawdbot
.env
EMAIL_ENABLED=true
# IMAP settings (receiving)
EMAIL_IMAP_SERVER=imap.gmail.com
EMAIL_IMAP_PORT=993
# SMTP settings (sending)
EMAIL_SMTP_SERVER=smtp.gmail.com
EMAIL_SMTP_PORT=587
# Credentials
EMAIL_ADDRESS=your@email.com
EMAIL_PASSWORD=app-password
# Poll interval (seconds)
EMAIL_POLL_INTERVAL=60
# Allowed senders (empty = all)
EMAIL_ALLOWED_SENDERS=friend@email.com
ProviderIMAP ServerSMTP Server
Gmailimap.gmail.comsmtp.gmail.com
Outlookoutlook.office365.comsmtp.office365.com
Yahooimap.mail.yahoo.comsmtp.mail.yahoo.com