Bolt.new + Gork Mail
Gork Mail logo
✕
Bolt.new logo

Give Bolt.new its own inbox

Gork Mail is the best way to give Bolt.new 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 Bolt.new. 13 email tools appear, each call scoped to the inbox you connect. The same MCP server serves CLI agents, editors, and the Gork API.

1In Bolt.new, open the integrated terminal and run npm install @gork/sdk.
2Add GORK_API_KEY to your .env.local file.
3Prompt Bolt: "Create a contact form that emails support@yourcompany.com and sends a confirmation to the submitter."
4Run the preview and test email sending directly in the WebContainer.

Run directly in your terminal to install the MCP tool.

npm install @gork/sdk
Try it

One prompt away

Paste this into the Bolt.new chat prompt to scaffold email workflows. Copy it, paste it into Bolt.new — it calls the tools itself.

Bolt.newBolt.new
Add an email notification system using Gork Mail. When a user submits the contact form, call POST https://api.gork.email/v1/messages/send with Bearer token $GORK_API_KEY and send a confirmation email from team@yourcompany.com.

Paste into Bolt.new — no code, no config

Why email

Why your Bolt.new 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

API Route in Next.js / Bolt.new (send from a provisioned inbox):

import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY! })
export async function POST(request: Request) {
const { name, email, message } = await request.json()
await gork.messages.send({
inboxId: process.env.GORK_INBOX_ID!,
to: ["support@yourcompany.com"],
subject: `New inquiry from ${name} (${email})`,
text: message,
})
return Response.json({ ok: true })
}
Templates

Templates

Live Bolt.new 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 MailBolt.new
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 MailBolt.new
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 MailBolt.new
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 MailBolt.new
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 MailBolt.new
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 MailBolt.new
Gork Mail
FAQ

FAQ

Common questions about Gork Mail and Bolt.new.

Yes! The @gork/sdk is pure JavaScript/TypeScript and communicates via fetch, making it 100% compatible with WebContainers.
Get Started

Give your Bolt.new 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.