mail2couch/config.json

42 lines
902 B
JSON
Raw Normal View History

{
"couchDb": {
"url": "http://localhost:5984",
"user": "admin",
"password": "password",
"database": "mail_backup"
},
"mailSources": [
{
"name": "Personal Gmail",
"enabled": true,
"protocol": "imap",
"host": "imap.gmail.com",
"port": 993,
"user": "your-email@gmail.com",
"password": "your-app-password",
"sync": true,
"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",
"sync": true,
"folderFilter": {
"include": [],
"exclude": []
},
"messageFilter": {}
}
]
}