pub fn mail(
title: &str,
body: &str,
through: bool,
action: Option<(String, Box<dyn FnOnce() + Send>)>,
) -> Result<(), String>Expand description
New mail at the times it may come (docs/porch.md, “Notifications”): one
notification for the batch, no sound, with one button (“Open”: the
Porch) whose action runs when pressed. At normal urgency, unlike codes
and reminders: the desktop’s own do-not-disturb holds it; but at critical
urgency when someone Always through is in it (through), which passes it
(docs/attention.md, Q10).