-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmail_config.example.json
More file actions
38 lines (38 loc) · 974 Bytes
/
mail_config.example.json
File metadata and controls
38 lines (38 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"default_provider_id": "cf_main",
"store": {
"path": "./data/mailboxes.json"
},
"providers": {
"cf_main": {
"type": "cloudflare_worker",
"worker_domain": "your-worker.workers.dev",
"email_domain": "your-mail-domain.com",
"admin_password_env": "ADMIN_PASSWORD",
"token_ttl_seconds": 604800,
"request_timeout_sec": 15,
"enable_prefix": true
},
"mock_local": {
"type": "mock",
"token_ttl_seconds": 3600,
"domain": "mock.local"
},
"duck_main": {
"type": "duckmail",
"api_base": "https://api.duckmail.sbs",
"api_key": "${DUCKMAIL_API_KEY}",
"default_domain": "",
"token_ttl_seconds": 604800,
"request_timeout_sec": 15,
"create_max_retries": 6,
"password_length": 14
},
"gpt_main": {
"type": "gpt_mail",
"base_url": "https://mail.chatgpt.org.uk",
"request_timeout_sec": 10,
"extra_headers": {}
}
}
}