refactor: replace native_db with memdb and add tests

This commit is contained in:
rustmailer
2026-05-14 02:29:23 +08:00
parent 0abaa66a40
commit 5406c4322c
102 changed files with 7225 additions and 2735 deletions
+2 -2
View File
@@ -433,13 +433,13 @@ pub async fn detach_and_store_attachments(
attachment_infos
}
pub async fn reattach_eml_content(
pub fn reattach_eml_content(
account_id: u64,
envelope_id: String,
) -> BichonResult<(Envelope, Bytes)> {
let e = ENVELOPE_MANAGER
.get_envelope_by_id(account_id, &envelope_id)
.await?
?
.ok_or_else(|| {
raise_error!(
format!(