Give Cerebras its own inbox
Gork Mail is the best way to give Cerebras its own inbox. Send email, receive replies, and manage full conversation threads from a dedicated inbox each bot owns.
One command
Add the Gork MCP server with the command or config below, then restart Cerebras. 13 email tools appear, each call scoped to the inbox you connect. The same MCP server serves CLI agents, editors, and the Gork API.
Run directly in your terminal to install the MCP tool.
pip install cerebras-cloud-sdk requests
One prompt away
Use as the system message for your Cerebras email agent. Copy it, paste it into Cerebras — it calls the tools itself.
Paste into Cerebras — no code, no config
Why your Cerebras agent needs its own inbox
One address per bot
Not one connection shared across the fleet. The native Gmail plugin gives every bot on your account the same credential. Gork Mail gives each bot a real address it owns.
Real inbound
The Gmail plugin lets your bot read your inbox. Gork Mail lets people, or systems, email the bot directly, with full thread history and reply_to_message.
Scoped blast radius
One flagged send scopes to one bot's address, not your entire Gmail reputation.
Working code
Complete Python loop: Cerebras reasons, Gork REST executes.
import json, os, requestsfrom cerebras.cloud.sdk import Cerebrascerebras = Cerebras(api_key=os.environ["CEREBRAS_API_KEY"])GORK = "https://api.gork.email/v1"HEADERS = {"Authorization": f"Bearer {os.environ['GORK_API_KEY']}"}def run_tool(name, args):if name == "gork_create_inbox":r = requests.post(f"{GORK}/inboxes", headers=HEADERS,json={"username": args["username"]})return r.json()["data"]if name == "gork_send_email":r = requests.post(f"{GORK}/messages/send", headers=HEADERS, json={"inboxId": args["inbox_id"], "to": [args["to"]],"subject": args["subject"], "text": args["text"]})return r.json()["data"]if name == "gork_read_emails":r = requests.get(f"{GORK}/messages", headers=HEADERS,params={"q": args["query"]})return r.json()["data"]raise ValueError(f"Unknown tool: {name}")messages = [{"role": "system", "content": "You are an email agent with Gork Mail tools."},{"role": "user", "content": "Give the support agent an email address."},]while True:resp = cerebras.chat.completions.create(model="gpt-oss-120b", messages=messages, tools=EMAIL_TOOLS)msg = resp.choices[0].messageif not msg.tool_calls:print("Agent:", msg.content)breakmessages.append(msg.model_dump())for call in msg.tool_calls:output = run_tool(call.function.name, json.loads(call.function.arguments))messages.append({"role": "tool", "tool_call_id": call.id,"content": json.dumps(output)})
Templates
Live Cerebras bots, each running on its own Gork Mail inbox. Open one to add it to your account and email it.
Sales
Lead
Qualifies inbound demo email. Replies with times or a self-serve link.
Support
Desk
Tier-one support inbox. Answers from your FAQ, escalates the rest.
Engineering
Crash Triage
Ingests CI/CD crash dumps and error emails, locates the failing code, and opens a pull request.
Operations
Approval Gate
Human-in-the-loop send gate. Intercepts OTP codes or confirms actions.
Productivity
Scheduler
Negotiates meeting times over email until everyone agrees.
Executive
Threadmate
CC it on a thread. Reads the history and replies from your brief.
FAQ
Common questions about Gork Mail and Cerebras.
Connect other AI agents
View all agents →Give your Cerebras agent its own inbox
Free tier included. Dedicated inboxes ready in seconds.
Create an inbox for your agent
Deploy dedicated inboxes for your AI agents in seconds across any model, harness, or pipeline.