Skip to main content

Module mail_store

Module mail_store 

Source
Expand description

Local mail message store — where delivered mail actually lives.

Inbound mail (local SMTP receiver, inject, or optional IMAP import) is resolved and ruled, then persisted under app_meta_dir()/mail_messages.json. This is the product inbox — not a pointer at a paid provider.

Structs§

StoredMail
A delivered (or quarantined) message in the local inbox.

Functions§

append
Append a delivered message. Returns the stored record.
counts
Counts for the UI badge.
delete
get
list
List messages, newest first. mailbox filters by accepting mailbox when set. include_quarantine includes quarantined messages (default true for full inbox; UI can filter).
set_read
store_delivery
Build + append from delivery fields.