Devin + Gork Mail
Gork Mail logo
✕
Devin logo

Give Devin its own inbox

Gork Mail is the best way to give Devin its own inbox. Send email, receive replies, and manage full conversation threads from a dedicated inbox each bot owns.

Install

One command

Add the Gork MCP server with the command or config below, then restart Devin. 13 email tools appear, each call scoped to the inbox you connect. The same MCP server serves CLI agents, editors, and the Gork API.

1Add GORK_API_KEY to Devin project environment secrets.
2Configure the Devin playbook with the Gork Mail SDK or MCP integration.
3Prompt Devin to handle email-gated workflows without human intervention.

Run directly in your terminal to install the MCP tool.

# Add to Devin playbook / machine secrets
export GORK_API_KEY="gork_live_YOUR_KEY"
npx -y -p @gork/sdk gork-mcp
Try it

One prompt away

Add to Devin issue description or repository playbook. Copy it, paste it into Devin — it calls the tools itself.

DevinDevin
Run end-to-end user signup tests. Use Gork Mail MCP to create a fresh inbox test-user@yourcompany.com, trigger registration, read the confirmation code, and finish signup.

Paste into Devin — no code, no config

Why email

Why your Devin 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.

Code

Working code

Devin executing email verification in Python:

from gork import Gork
import re, os
client = Gork(api_key=os.environ["GORK_API_KEY"])
inbox = client.inboxes.create(username="devin-runner", domain="yourcompany.com")
# Wait for confirmation code
messages = client.messages.search("verification", inbox_id=inbox.id)
code = re.search(r"\b\d{6}\b", messages[0].text_body).group(0)
print(f"Devin retrieved code: {code}")
Templates

Templates

Live Devin 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.

Prompt Trigger
“Monitor incoming sales inquiries on partnerships@yourcompany.com. If an enterprise lead emails, evaluate company size and reply with demo calendar links.”
Gork MailDevin
Gork Mail

Support

Desk

Tier-one support inbox. Answers from your FAQ, escalates the rest.

Prompt Trigger
“Check support@yourcompany.com for unread tickets. Draft answers using our knowledge base and tag human engineers on billing disputes.”
Gork MailDevin
Gork Mail

Engineering

Crash Triage

Ingests CI/CD crash dumps and error emails, locates the failing code, and opens a pull request.

Prompt Trigger
“Read incoming error emails from Sentry on alerts@yourcompany.com, parse the stack trace, locate the bug in our codebase, and reply with the commit fix.”
Gork MailDevin
Gork Mail

Operations

Approval Gate

Human-in-the-loop send gate. Intercepts OTP codes or confirms actions.

Prompt Trigger
“Listen on verify-bot@yourcompany.com for authentication emails. Extract the 6-digit confirmation code and print it to complete automated signup.”
Gork MailDevin
Gork Mail

Productivity

Scheduler

Negotiates meeting times over email until everyone agrees.

Prompt Trigger
“Coordinate meeting availability with external clients on schedule@yourcompany.com. Propose 3 alternate time slots and confirm upon agreement.”
Gork MailDevin
Gork Mail

Executive

Threadmate

CC it on a thread. Reads the history and replies from your brief.

Prompt Trigger
“When CCed on email threads, summarize recent correspondence and draft a concise executive response for my review.”
Gork MailDevin
Gork Mail
FAQ

FAQ

Common questions about Gork Mail and Devin.

Devin uses the Gork Python SDK, REST API, or MCP tools to query its inbox or search message contents.
Get Started

Give your Devin 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.