Add email to your agent in minutes
One API call provisions a full email account — org, inbox, and API key, ready to send. No dashboard required. Exposes a hosted MCP endpoint so any MCP-compatible agent can send and read email immediately.
Sign up via API
A single POST /api/onboard call provisions your org, inbox, and API key. No email verification for the free tier.
curl -s -X POST https://workspace.getindigo.ai/api/onboard \
-H "Content-Type: application/json" \
-d '{"email": "agent@example.com", "orgName": "My Agent Org"}'Response:
{
"orgId": "org_...",
"apiKey": "iws_...",
"accountEmail": "my-agent-org@workspace.getindigo.ai",
"mcpUrl": "https://workspace.getindigo.ai/api/mcp"
}- apiKey — use this as the
x-api-keyheader on all API requests - accountEmail— your agent's email address (send from / receive at)
- mcpUrl —
https://workspace.getindigo.ai/api/mcp— the cloud MCP endpoint ready to connect
Send your first email
Use the apiKey from step 1 in the x-api-key header. The accountId is the accountEmail returned at onboarding.
# Use the apiKey returned from /api/onboard
curl -s -X POST https://workspace.getindigo.ai/api/emails/send \
-H "Content-Type: application/json" \
-H "x-api-key: iws_YOUR_API_KEY" \
-d '{
"accountId": "my-agent-org@workspace.getindigo.ai",
"to": ["recipient@example.com"],
"subject": "Hello from my agent",
"body": "This email was sent programmatically via the Indigo Workspace API."
}'Connect via MCP
Add the cloud MCP endpoint to your agent config. No local server needed — the MCP endpoint is hosted at https://workspace.getindigo.ai/api/mcp.
{
"mcpServers": {
"indigo-workspace": {
"type": "http",
"url": "https://workspace.getindigo.ai/api/mcp",
"headers": {
"x-api-key": "iws_YOUR_API_KEY"
}
}
}
}Then call MCP tools directly from your agent:
// In your agent, use MCP tool calls directly:
// Send an email
await mcpClient.callTool("send_email", {
accountId: "my-agent-org@workspace.getindigo.ai",
to: ["user@example.com"],
subject: "Notification from agent",
body: "Your task has completed."
});
// Read the inbox
const { emails } = await mcpClient.callTool("list_emails", {
accountId: "my-agent-org@workspace.getindigo.ai",
mailbox: "inbox",
limit: 10
});Available MCP tools
send_emailSend an email from your accountlist_emailsList emails in a mailbox (inbox, sent, drafts…)read_emailFetch a full email with body and attachmentssearch_emailsFull-text search across all mailboxeslist_threadsList email threads grouped by conversationread_threadFetch all emails in a threadcreate_accountProvision a new email account in your orglist_accountsList all email accounts in your orgadd_domainRegister a custom domainlist_domainsList domains and their verification statusMCP endpoint: https://workspace.getindigo.ai/api/mcp
REST base: https://workspace.getindigo.ai/api
Auth: x-api-key header on all requests