feat(projekt-matching): Cfg dataclass, IMAP mailbox with keyword/trash handling, SMTP send

This commit is contained in:
tlg
2026-07-09 11:02:05 +02:00
parent b9133a2416
commit 11b5675eab
3 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
"""Runtime configuration passed from Langflow component inputs."""
from dataclasses import dataclass
@dataclass
class Cfg:
imap_user: str = "chancen@destengs.com"
imap_password: str = ""
espo_base: str = ""
espo_api_key: str = ""
notify_to: str = ""
alert_to: str = ""
threshold: int = 85
vllm_base: str = ""
vllm_model: str = ""
flow2_id: str = ""
langflow_api_key: str = ""
langflow_base: str = "http://127.0.0.1:7860"
data_dir: str = "/app/langflow"
crm_web_base: str = "https://crm.creature-go.com"