Initial commit: IMAP Mail Filter Service

This commit is contained in:
Stefan Hacker
2026-03-19 13:02:44 +01:00
parent 44fb27801d
commit 61c4384111
34 changed files with 2345 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from pathlib import Path
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str = "sqlite:///data/mailfilter.db"
yaml_config_path: str = "config/filters.yaml"
encryption_key: str = ""
yaml_sync_on_startup: bool = True
log_level: str = "INFO"
model_config = {"env_file": ".env", "env_file_encoding": "utf-8"}
settings = Settings()