Skip to main content

mail_item

Function mail_item 

Source
pub fn mail_item(
    card: &Card,
    role: Role,
    own: bool,
    flags: &str,
    trusted_ids: &[String],
    words: &Words,
    tr: &Translator,
) -> MailItem
Expand description

One message as a list shows it, in a folder for role: who wrote (to whom, in Sent and Drafts), what, when, its marks (flags, Maildir’s letters), and how far its sender is verified, as the Porch judges it. own: one of your answers from Sent, shown in a conversation. Its key is its file, when it has one (a search gives a message seen on its server only its own). words: what the codes detector looks for, as the Porch reads it.