Skip to main content

mail_accounts

Function mail_accounts 

Source
pub fn mail_accounts(
    accounts: &[(Account, Vec<Folder>)],
    tr: &Translator,
    hours: Option<(Time, Week)>,
) -> Vec<MailAccountView>
Expand description

The accounts and their folders, ranked as their mail is: above, average, below. Views of other folders are not listed, but Gmail’s “All Mail”, its archive. The mail page’s accounts; hours what now is for (None: no hours set): an address whose area does not fit it rests, and every address while you sleep (docs/areas.md).