send email ok

This commit is contained in:
2023-10-15 15:06:54 +02:00
parent 228c9bebb8
commit f32fa3e5b9
3 changed files with 19 additions and 7 deletions

7
app/models/email.py Normal file
View File

@@ -0,0 +1,7 @@
from pydantic import BaseModel, EmailStr
from typing import List, Any, Dict
class EmailSchema(BaseModel):
email: List[EmailStr]
body: Dict[str, Any]