{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ParsedMessage", "title": "ParsedMessage", "type": "object", "description": "A parsed MIME message.", "properties": { "subject": { "type": "string", "description": "The parsed subject line.", "example": "example_value" }, "from_email": { "type": "string", "format": "email", "description": "The parsed sender email address.", "example": "user@example.com" }, "from_name": { "type": "string", "description": "The parsed sender name.", "example": "example_value" }, "to": { "type": "array", "items": { "type": "object", "properties": { "email": { "type": "string", "format": "email" }, "name": { "type": "string" } } }, "description": "Parsed recipient list.", "example": [] }, "headers": { "type": "object", "additionalProperties": { "type": "string" }, "description": "All parsed headers.", "example": "example_value" }, "text": { "type": "string", "description": "The plain-text body.", "example": "example_value" }, "html": { "type": "string", "description": "The HTML body.", "example": "example_value" }, "attachments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string" }, "content": { "type": "string" } } }, "description": "Parsed file attachments.", "example": [] }, "images": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string" }, "content": { "type": "string" } } }, "description": "Parsed inline images.", "example": [] } } }