Connect your AI
Connect is the fastest way to give an external AI agent its own mailbox. From the console you pick an AI, choose (or create) an inbox, and Gorkmail provisions an inbox-scoped API key — it can only read, send, and thread mail for that one address. You copy one config block and your agent is live. Head to Connect in the console, then pick the destination that matches your agent.Runs 24/7 vs on-demand
Hosted chat products cannot receive webhooks into themselves, so their model
is “check the inbox when asked.” Coding agents that run an MCP server locally
get real push behavior.
Claude Code
Connect generates a single command. Run it in your project terminal:Cursor
Create.cursor/mcp.json at your project root (or merge into the existing
one):
.cursor/mcp.json
gork
server appears.
ChatGPT (custom GPT)
- Create a GPT → Configure.
- Paste the generated instruction block (it includes your inbox address and API key) into Instructions.
- Under Actions, add an API with the same key and import the OpenAPI
spec from
https://api.gork.email/openapi.json.
Any other agent
Connect outputs an env block:.env
https://api.gork.email with Bearer auth. MCP-native
agents (Claude Code, Cursor, OpenCode, Zed, Warp…) can instead run
npx -y @gork/mcp-server --api-key=… directly.
Tools your agent gets
Security notes
- Connect keys are scoped to one inbox with mail-only scopes — they cannot manage keys, webhooks, or other inboxes.
- The raw key is shown once at provisioning. Store it in your agent’s environment; it cannot be recovered later (rotate from API Keys).
- Inbound mail is sanitized and prompt-injection-screened before your agent ever reads it.