Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONMessageAttachmentV1 ¶
type JSONMessageAttachmentV1 struct { FileName string `json:"filename"` ContentType string `json:"content-type"` DownloadLink string `json:"download-link"` ViewLink string `json:"view-link"` MD5 string `json:"md5"` }
JSONMessageAttachmentV1 contains information about a MIME attachment
type JSONMessageBodyV1 ¶
JSONMessageBodyV1 contains the Text and HTML versions of the message body
type JSONMessageHeaderV1 ¶
type JSONMessageHeaderV1 struct { Mailbox string `json:"mailbox"` ID string `json:"id"` From string `json:"from"` To []string `json:"to"` Subject string `json:"subject"` Date time.Time `json:"date"` Size int64 `json:"size"` Seen bool `json:"seen"` }
JSONMessageHeaderV1 contains the basic header data for a message
type JSONMessageV1 ¶
type JSONMessageV1 struct { Mailbox string `json:"mailbox"` ID string `json:"id"` From string `json:"from"` To []string `json:"to"` Subject string `json:"subject"` Date time.Time `json:"date"` Size int64 `json:"size"` Seen bool `json:"seen"` Body *JSONMessageBodyV1 `json:"body"` Header map[string][]string `json:"header"` Attachments []*JSONMessageAttachmentV1 `json:"attachments"` }
JSONMessageV1 contains the same data as the header plus a JSONMessageBody
Click to show internal directories.
Click to hide internal directories.