43 lines
1.3 KiB
Elixir
Generated
43 lines
1.3 KiB
Elixir
Generated
# This file is auto-generated by alef — DO NOT EDIT.
|
|
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
|
# To regenerate: alef generate
|
|
# To verify freshness: alef verify --exit-code
|
|
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
|
defmodule Kreuzberg.EmailExtractionResult do
|
|
@moduledoc """
|
|
Email extraction result.
|
|
|
|
Complete representation of an extracted email message (.eml or .msg)
|
|
including headers, body content, and attachments.
|
|
"""
|
|
|
|
@typedoc "Email extraction result."
|
|
@type t :: %__MODULE__{
|
|
subject: String.t() | nil,
|
|
from_email: String.t() | nil,
|
|
to_emails: [String.t()],
|
|
cc_emails: [String.t()],
|
|
bcc_emails: [String.t()],
|
|
date: String.t() | nil,
|
|
message_id: String.t() | nil,
|
|
plain_text: String.t() | nil,
|
|
html_content: String.t() | nil,
|
|
content: String.t() | nil,
|
|
attachments: [map()],
|
|
metadata: map()
|
|
}
|
|
|
|
defstruct subject: nil,
|
|
from_email: nil,
|
|
to_emails: [],
|
|
cc_emails: [],
|
|
bcc_emails: [],
|
|
date: nil,
|
|
message_id: nil,
|
|
plain_text: nil,
|
|
html_content: nil,
|
|
content: nil,
|
|
attachments: [],
|
|
metadata: %{}
|
|
end
|