@agenticmail/enterprise 0.5.361 → 0.5.363

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2061,7 +2061,13 @@ ${identity.personality.slice(0, 800)}` : "";
2061
2061
  orgId,
2062
2062
  accessToken: currentAccessToken,
2063
2063
  refreshToken: refreshTokenFn,
2064
- provider: providerType
2064
+ provider: providerType,
2065
+ // IMAP/SMTP fields
2066
+ imapHost: emailConfig.imapHost,
2067
+ imapPort: emailConfig.imapPort,
2068
+ smtpHost: emailConfig.smtpHost,
2069
+ smtpPort: emailConfig.smtpPort,
2070
+ password: emailConfig.password
2065
2071
  });
2066
2072
  const agentName = config.displayName || config.name;
2067
2073
  const role = config.identity?.role || "AI Agent";
@@ -2099,12 +2105,12 @@ Your details:
2099
2105
  ${identity.personality ? `- Personality: ${identity.personality.slice(0, 600)}` : ""}
2100
2106
  ${identity.tone ? `- Tone: ${identity.tone}` : ""}
2101
2107
 
2102
- Write and send a brief, genuine introduction email to your manager. Be yourself \u2014 don't use templates or corporate speak. Mention your role, what you can help with, and that you're ready to get started. Keep it concise (under 200 words). Use the gmail_send or agenticmail_send tool to send it.`,
2108
+ Write and send a brief, genuine introduction email to your manager. Be yourself \u2014 don't use templates or corporate speak. Mention your role, what you can help with, and that you're ready to get started. Keep it concise (under 200 words). Use the ${providerType === "imap" ? "email_send" : "gmail_send or agenticmail_send"} tool to send it.`,
2103
2109
  systemPrompt: `You are ${agentName}, a ${role}. ${identity.personality || ""}
2104
2110
 
2105
2111
  You have email tools available. Send ONE email to introduce yourself to your manager. Be genuine and concise. Do NOT send more than one email.
2106
2112
 
2107
- Available tools: gmail_send (to, subject, body) or agenticmail_send (to, subject, body).`
2113
+ Available tools: ${providerType === "imap" ? "email_send (to, subject, body)" : "gmail_send (to, subject, body) or agenticmail_send (to, subject, body)"}.`
2108
2114
  });
2109
2115
  console.log(`[welcome] \u2705 Welcome email session ${welcomeSession.id} created`);
2110
2116
  if (memoryManager) {
@@ -2120,7 +2126,7 @@ Available tools: gmail_send (to, subject, body) or agenticmail_send (to, subject
2120
2126
  }
2121
2127
  }
2122
2128
  } catch (err) {
2123
- console.error(`[welcome] Failed to send welcome email: ${err.message}`);
2129
+ console.warn(`[welcome] Failed to send welcome email: ${err.message} \u2014 will not retry`);
2124
2130
  }
2125
2131
  } else {
2126
2132
  if (!managerEmail) console.log("[welcome] No manager email configured, skipping welcome email");
package/dist/cli.js CHANGED
@@ -60,7 +60,7 @@ Skill Development:
60
60
  import("./cli-serve-2MX7MWVM.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
61
61
  break;
62
62
  case "agent":
63
- import("./cli-agent-SPRH4SP5.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
63
+ import("./cli-agent-JC54TP7N.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
64
64
  break;
65
65
  case "setup":
66
66
  default:
@@ -6,3 +6,4 @@
6
6
  2026-03-05 16:18:12: [chat-poller] 1 consecutive errors, backing off 30s
7
7
  2026-03-05 20:20:42: [chat-poller] Error polling Agentic Mail Support Space: The operation was aborted due to timeout
8
8
  2026-03-05 20:20:42: [chat-poller] 1 consecutive errors, backing off 30s
9
+ 2026-03-05 20:43:44: [wa:3eecd57d] Media download failed: Cannot derive from empty media key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.361",
3
+ "version": "0.5.363",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {