Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(connect): handle missing email channel config gracefully

Steven Enamakel26eca37142b4
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect/email.rs b/crates/openhuman-core/src/channels/controllers/ops/connect/email.rs
index 05d909d611..14c3c0c074 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/connect/email.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/connect/email.rs
@@ -68,7 +68,7 @@ pub(crate) fn parse_port_field(
/// channel already does at match time. An absent field defaults to `["*"]`
/// (allow any) so a freshly-connected mailbox actually receives — the channel
/// treats an *empty* list as deny-all.
-fn parse_email_senders(value: Option<&Value>) -> Vec<String> {
+pub(crate) fn parse_email_senders(value: Option<&Value>) -> Vec<String> {
let raw = match value {
Some(Value::String(s)) => s.clone(),
Some(Value::Array(items)) => items