agentmail TypeScript SDK. Use it when an owner wants an agent-operated inbox for receiving and replying to leads, booking notifications, or escalated conversations.
AgentMail integration
Provision an AgentMail inbox for an AI agent handling Contact Button setup, lead replies, and escalated conversations while keeping human OTPs separate.
The repository includes the
Keep AgentMail credentials in environment configuration. Store only the resulting inbox identifier in Contact Button integration settings. AgentMail onboarding and Contact Button onboarding are independent verification boundaries; neither token should be sent to the other service.
Use a human-owned notification address for confirmation challenges. Do not route a represented human’s OTP to an agent-controlled mailbox, because that would remove the human-in-the-loop boundary.