Create Inbox
CLI:
agentmail inboxes create --display-name "My Agent" --username myagent --domain agentmail.to
Request body
Username of address. Randomly generated if not specified.
Domain of address. Must be a verified domain, or any subdomain of a verified domain that has subdomains enabled (e.g., bot.example.com). Defaults to agentmail.to.
Display name: Display Name <username@domain.com>.
Client ID of inbox.
Custom key-value pairs attached to the inbox. Up to 256 keys. Keys and string values are each limited to 256 characters. When updating metadata, send a key with a null value to remove that key.
Response
ID of pod.
The ID of the inbox.
Email address of the inbox.
Display name: Display Name <username@domain.com>.
Client ID of inbox.
Custom key-value pairs attached to the inbox. Up to 256 keys. Keys and string values are each limited to 256 characters. When updating metadata, send a key with a null value to remove that key.
Time at which inbox was last updated.
Time at which inbox was created.