Run the local demo
The local stack includes Alcarta, PostgreSQL, Redis, and a deliberately fake GreenMail account. It is the fastest way to see the complete flow without using a real mailbox credential.
Start the stack
Section titled “Start the stack”From the application repository:
docker compose up -d --waitOpen http://localhost:8080.
Create your account
Section titled “Create your account”-
Sign up with any local-only email address and password.
-
Find the verification link in the gateway log:
Terminal window docker compose logs gateway | grep verify -
Open the link. Verification unlocks mailbox, agent, and grant creation.
-
Complete the mock billing step. The local demo does not contact a payment provider.
Add the bundled mailbox
Section titled “Add the bundled mailbox”Go to Mailboxes → Add a mailbox and enter:
| Field | Value |
|---|---|
| Display name | demo |
| Address | demo@local.test |
| Login name | demo |
| Backend | IMAP + SMTP |
| IMAP host / port / TLS | greenmail / 3993 / implicit |
| SMTP host / port / TLS | greenmail / 3465 / implicit |
| Authentication | password |
Save the mailbox, then store a password credential with secret demo-password. Alcarta encrypts it
before writing it and never shows it again.
Select Test connection. A successful test discovers the provider folders and changes the
mailbox state to active.
Connect an agent
Section titled “Connect an agent”Create an agent, grant it the operator role on the demo mailbox, and mint a token. The token is
shown once. Continue with Create an agent to connect through MCP
or REST.
Remove local data
Section titled “Remove local data”When you intentionally want to delete the demo database, keys, and mail data:
docker compose down -vThis is destructive and cannot be undone.