Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(email): compile approval snapshots with the outbound repository (#8705)

gbirman7a16e169e93b
diff --git a/crates/email/src/domain/send_attempt.rs b/crates/email/src/domain/send_attempt.rs
index 2b5074fba0..1672d8ca98 100644
--- a/crates/email/src/domain/send_attempt.rs
+++ b/crates/email/src/domain/send_attempt.rs
@@ -5,8 +5,8 @@ use macro_user_id::user_id::MacroUserIdStr;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
-// Only the confirmed-send agent tool reads approval snapshots.
-#[cfg(all(feature = "inbound", feature = "ai_tools"))]
+// Only the Postgres send-attempt repository reads approval snapshots.
+#[cfg(feature = "outbound")]
mod approval;
use super::models::{