feat: complete ni-mail rewrite with Graph API, IMAP, OTP extractor, Web UI and Docker deployment

This commit is contained in:
juanjuanjuanidea
2026-07-24 13:57:34 +08:00
commit 015a63043d
17 changed files with 4265 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from __future__ import annotations
from typing import Any
import requests
def get_response_details(response: requests.Response) -> Any:
try:
return response.json()
except Exception:
return response.text or response.reason