Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Raw json.RawMessage Id string `json:"id" path:"id"` ThreadId string `json:"thread_id" path:"threadId"` Date string `json:"date" path:"payload.headers.#(name==\"Date\").value"` Subject string `json:"subject" path:"payload.headers.#(name==\"Subject\").value"` To string `json:"to" path:"payload.headers.#(name==\"To\").value"` Cc string `json:"cc" path:"payload.headers.#(name==\"Cc\").value"` From string `json:"from" path:"payload.headers.#(name==\"From\").value"` ReplyTo string `json:"reply_to" path:"payload.headers.#(name==\"Reply-To\").value"` }
type Processed ¶
type Processed struct { Id string `json:"id"` ThreadId string `json:"thread_id"` HistoryId string `json:"history_id"` DateInternal int64 `json:"date_internal"` Date8601 string `json:"date_8601"` DateUnix int64 `json:"date_unix"` Subject string `json:"subject"` To []*Address `json:"to,omitempty"` Cc []*Address `json:"cc,omitempty"` From *Address `json:"from,omitempty"` ReplyTo *Address `json:"reply_to,omitempty"` LabelIds []string `json:"label_ids"` LabelNames []string `json:"label_names"` LabelTypeUser []*mo_label.Label `json:"label_type_user"` LabelTypeSystem []*mo_label.Label `json:"label_type_system"` SizeEstimate int `json:"size_estimate"` Original json.RawMessage `json:"original"` }
Click to show internal directories.
Click to hide internal directories.