{
  "email": {
    "type": "email",
    "enabled": true,
    "config": {
      "smtp": {
        "host": "smtp.gmail.com",
        "port": 587,
        "secure": false,
        "auth": {
          "user": "your-email@gmail.com",
          "pass": "your-app-password"
        }
      },
      "imap": {
        "host": "imap.gmail.com",
        "port": 993,
        "secure": true,
        "auth": {
          "user": "your-email@gmail.com",
          "pass": "your-app-password"
        }
      },
      "from": "Claude-Code-Remote <your-email@gmail.com>",
      "to": "your-email@gmail.com",
      "template": {
        "checkInterval": 30
      }
    }
  }
}

# Email Configuration Instructions
# 
# Gmail Configuration Example:
# 1. Enable two-factor authentication
# 2. Generate app password (16 digits)
# 3. Replace your-email@gmail.com and your-app-password above
#
# Other Email Providers:
# QQ Mail: smtp.qq.com (587) / imap.qq.com (993)
# 163 Mail: smtp.163.com (587) / imap.163.com (993)
# Outlook: smtp.live.com (587) / imap-mail.outlook.com (993)
#
# After Configuration:
# 1. Copy email section to config/channels.json
# 2. Run: claude-remote test
# 3. Run: claude-remote relay start