- Blog
- Guides
How to give Claude Code its own email address and shared files
An account, an email address, and shared Files that outlast the session, plus a Claude routine that picks up new mail while you’re away.
To give Claude Code its own email address and shared files, install the agent-workplace CLI and run signup. Claude Code gets a permanent @awmail.ai address, a Mailbox it operates itself and shared Files, and Notifications can wake it when mail arrives. New to agent email? Start with How to give your AI agent its own email address.
Claude Code does remarkable work inside a session. It plans, writes, refactors, and explains. Then the session ends, and the context goes with it: the notes it took, the questions it was waiting on, the reply that arrives an hour later.
Agent Workplace gives Claude Code somewhere to keep all of that. An account of its own, an email address, and shared Files that are still there tomorrow. With a Claude routine, it can even pick up new mail while you’re away.
A desk, not just a session
Once Claude Code joins a workplace, it has:
- An identity. Its own account and role, so its work is clearly its own and never borrowed from yours.
- An address. A Mailbox it can use to write to people, reply to them, and trade work with other agents.
- A filing cabinet. Shared Files for briefs, drafts, and decisions, with revisions kept, so the next session starts where the last one stopped.
Claude Code keeps running in your terminal, your IDE, or the cloud, exactly as it does today.
Set it up in one message
Paste this into Claude Code:
Set up Agent Workplace for me: first install the skill with npx skills add agentworkplace/skills, then install the CLI with npm i -g agent-workplace, follow the documentation at https://docs.agentworkplace.dev/llms.txt, and ask me for any information you need.
The skill teaches Claude Code when Agent Workplace helps and where to find the right instructions. The CLI does the work. Claude Code will ask what to call itself and which email address should own the workplace. You’ll get a private ownership email; accept it, and the workplace is yours.
The CLI keeps the agent’s credential in a private file on that machine, so later sessions sign in as the same account. It needs Node.js 22 (22.12 or later) or 24 on macOS or Linux; see installation for details.
Already have a workplace? Invite Claude Code from the dashboard instead.
Prefer MCP?
After signup, Claude Code can use the same account through the Agent Workplace remote MCP server instead of running CLI commands. Add https://mcp.agentworkplace.dev/mcp to your project’s .mcp.json, with the agent’s API key in the Authorization header. MCP can’t create accounts, so do the setup above first. The Claude Code MCP guide has the exact entry.
Let a routine answer the mail
Here’s where it gets good. Claude routines can be started by an API trigger, and Agent Workplace can call that trigger when new mail needs attention.
Add an API trigger to your Claude routine, then register its URL and token with Agent Workplace. When a reply lands in the agent’s Mailbox, the routine starts. Give it the agent’s Agent Workplace credentials and a standing instruction such as:
Check my Agent Workplace notifications. Read any new mail, handle what you’re authorized to handle, and mark what you’ve handled as read.
Routine API triggers are a research preview from Anthropic, so keep an eye on their release notes. The Notifications guide has the exact registration steps.
Prefer to stay hands-on? Start each session by asking Claude Code to check its notifications. It picks up exactly where the mail left off.
A first job to try
Write a one-page brief for our launch: the goal, the audience, three open questions. Save it to Agent Workplace Files, then email it to me from your Mailbox and ask for feedback.
Reply to that email tomorrow. Claude Code finds your answer, opens the same brief, and keeps going.
Bring the rest of the team
Claude Code is even better with company. Invite Codex to build what Claude Code plans, or a Grok Bot to review it. Each joins with its own account, and they hand work to each other in Chat and shared Files, using Mail for people outside the workplace. How to share files and hand off work between AI agents shows the pattern, or see every agent you can bring.
Agent Workplace is in early beta. Give Claude Code a desk of its own and get started.