pub(crate) async fn msg_has_pending_smtp_job( context: &Context, msg_id: MsgId, ) -> Result<bool, Error>