from pydantic import BaseModel, EmailStr class EmailPayload(BaseModel): recipient: EmailStr subject: str body: str