Skip to main content

start_mailbox

Function start_mailbox 

Source
pub fn start_mailbox() -> Result<MailboxHandle, MainError>
Expand description

Start the mail4agent mailbox on a background thread (m4a only). Same daemon the standalone mail4agent binary runs.

The daemon’s own failure (for example a bootstrap refusal) is logged and visible through MailboxHandle::is_finished; it is never swallowed.