{
  "couchDb": {
    "url": "http://localhost:5984",
    "user": "admin",
    "password": "password"
  },
  "mailSources": [
    {
      "name": "Personal Gmail",
      "enabled": true,
      "protocol": "imap",
      "host": "imap.gmail.com",
      "port": 993,
      "user": "your-email@gmail.com",
      "password": "your-app-password",
      "mode": "archive",
      "folderFilter": {
        "include": ["INBOX", "Sent"],
        "exclude": ["Spam", "Trash"]
      },
      "messageFilter": {
        "since": "2024-01-01"
      }
    },
    {
      "name": "Work Account",
      "enabled": true,
      "protocol": "imap",
      "host": "imap.work.com",
      "port": 993,
      "user": "user@work.com",
      "password": "password",
      "mode": "sync",
      "folderFilter": {
        "include": [], 
        "exclude": []
      },
      "messageFilter": {}
    }
  ]
}
