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
Structs
Section titled “Structs”NotesImapStore
Section titled “NotesImapStore”pub struct NotesImapStoreA capability for exactly one authenticated User; no method takes another User ID. Server authentication must complete before constructing this value.
Implements: Clone, NotesStore
NotesImapStore::new
Section titled “NotesImapStore::new”pub fn new(root: Root, db: Db, user: &str) -> Result<Self>Reject invalid security identities before any Home lookup (#428).