Models¶ mailtag.models.Email ¶ Bases: BaseModel Represents an email message with validation. Source code in src/mailtag/models.py 4 5 6 7 8 9 10 11 12class Email(BaseModel): """Represents an email message with validation.""" msg_id: str subject: str sender_address: str sender_name: str body: str = "" labels: list[str] = Field(default_factory=list)