pub(crate) async fn rfc724_mid_exists_ex(
context: &Context,
rfc724_mid: &str,
expr: &str,
) -> Result<Option<(MsgId, bool)>>Expand description
Returns MsgId of the most recent message with given rfc724_mid
(Message-ID header) and bool expr result if such messages exists in the db.
expr: SQL expression additionally passed intoSELECT. Evaluated totrueiff it is true for all messages with the givenrfc724_mid.