Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is responsible for reading from mailboxes and updating the notmuch index Note that a single handler can only read from one mailbox
func (*Handler) CheckMessages ¶
CheckMessages checks for new/unindexed messages on the server
type IndexUpdate ¶
type IndexUpdate struct { Path string // Path to file to be updated MessageID string // MessageID to be updated Tags []string // Tags to add/remove from message (entries prefixed with "-" will be removed) }
IndexUpdate is used to signal that a message should be tagged with specific information
type Mailbox ¶
type Mailbox struct { Server string Port int Username string Password string UseTLS bool `yaml:"use_tls"` UseStartTLS bool `yaml:"use_starttls"` Folders struct { Include []string Exclude []string } FolderTags map[string]string `yaml:"folder_tags"` }
Mailbox defines the available options for a IMAP mailbox to pull from
Click to show internal directories.
Click to hide internal directories.