> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Inbox • AI Agent SDK

> create_inbox: Create a new email inbox programmatically.

# create\_inbox

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**EmailProtocol**](../classes/EmailProtocol) class in the [**protocols**](../modules/protocols) module.

Create a new email inbox programmatically.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def create_inbox(domain: Optional[str]) -> Dict[str, Any]
```

## Parameters

<ParamField query="domain" type="Optional[str]" required={false}>
  Optional custom domain for the inbox \*\*kwargs: Additional provider-specific parameters
</ParamField>

### Returns

<ResponseField name="Returns" type="Dict[str, Any]">
  Dict with at least 'id' and 'email\_address' keys
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L1270">
  `praisonaiagents/bots/protocols.py` at line 1270
</Card>
