Skip to content

calternal_plugin_notes::imap

Home-backed Notes IMAP provider (#428, DESIGN §9). The provider binds one authenticated User at construction. Revision clocks and hashes change in the same Index transaction as Notes, including edits through HTTP or Files. The Index remains rebuildable. Empty mailbox reads derive a per-User UIDVALIDITY without a write; indexed revisions use the persisted clock (#780). The transactional source-change result keeps repair silent (#1062).

Source: crates/plugins/notes/src/imap.rs

pub struct NotesImapStore

A capability for exactly one authenticated User; no method takes another User ID. Server authentication must complete before constructing this value.

Implements: Clone, NotesStore

pub fn new(root: Root, db: Db, user: &str) -> Result<Self>

Reject invalid security identities before any Home lookup (#428).

Source: crates/plugins/notes/src/imap.rs:134