feat: add imap proxy server (#225)

This commit is contained in:
Dream Hunter
2024-05-12 11:34:52 +08:00
committed by GitHub
parent 386441a743
commit af027fd75e
14 changed files with 349 additions and 24 deletions

View File

@@ -0,0 +1,10 @@
from typing import Dict, List
from pydantic import BaseModel
class EmailModel(BaseModel):
headers: Dict[str, str]
body: str
content_type: str
subparts: List["EmailModel"]
size: int