Warning
Discontinued: NoLook is no longer under active development, and the hosted
service (nolookai.com / api.nolookai.com) has been shut down. This
repository remains publicly available as-is under the MIT License for
reference, without further updates or maintenance.
Inboxless email and calendar for AI agents.
NoLook is an open-source email and calendar backend that lets an AI client work with your inbox through MCP. There is no inbox UI: agents receive, summarize, organize, and reply to email, manage attachments, and handle calendar events and RSVPs directly from tools such as Codex, Claude Code, and Cursor.
The service uses Next.js, Convex, Resend, and Vercel Blob. nolookai remains the
technical project and domain name; NoLook is the product name.
- Send and receive email through Resend
- Optionally limit external deliveries per mailbox and rolling hour
- Store messages, customer context, summaries, and mailbox assignments in Convex
- Store attachment content in private Vercel Blob storage
- Manage events, recurring event groups, invitations, and RSVP replies
- Expose agent and administrative tools through authenticated MCP
- Reveal and independently rotate encrypted mailbox and ICS credentials
- Publish a private-token, read-only ICS calendar feed
- Add a branded React Email layout to external email
- Keep automation behavior in a customizable skill for each mailbox
See Product architecture for the data model, use cases, and current decisions.
You need Node.js 20 or newer, pnpm 11, and accounts for Convex, Resend, and Vercel Blob.
git clone https://github.com/markustripp/nolookai.git
cd nolookai
pnpm install
cp .env.example .env.local
pnpm setup:local-envLink or create a Convex development project and keep it running:
pnpm exec convex devAdd the Resend and Blob values to .env.local, then sync the generated admin
token to the linked Convex deployment:
pnpm setup:convex-env
pnpm dev:appThe local service is available at http://localhost:3000; its MCP endpoint is
http://localhost:3000/api/mcp.
- Verify a sending and receiving domain in Resend.
- Create a Resend webhook for
email.receivedathttps://your-domain.example/api/resendand copy its signing secret. - Create a private Vercel Blob store and copy its read/write token.
- Set the variables from
.env.examplein local development and Vercel. - Deploy the Convex functions and the Next.js service for a public HTTPS endpoint.
- Set the same
MCP_ADMIN_TOKENin the Next.js deployment and the matching Convex deployment. - Set
NOLOOK_TOKEN_ENCRYPTION_KEYonly in the Next.js service and keep a secure backup.pnpm setup:local-envgenerates a suitable local key.
Set NOLOOK_MAX_EXTERNAL_DELIVERIES_PER_HOUR=25 to enable the optional
per-mailbox abuse limit. Each external recipient counts once, including
organizer calendar invitations, updates, and cancellations. Internal messages
and participant RSVP replies do not count. Leave it unset or set it to 0 for
unlimited sending. Use admin_set_external_delivery_limit for a per-user
override; omit its limit to inherit the environment value or set it to 0 to
make that user unlimited.
For real inbound email, the Resend webhook must reach a public deployment. The repository also includes optional Portless/Tailscale and live-harness scripts; the detailed test flows are documented in Product architecture.
Connect an MCP client to /api/mcp using MCP_ADMIN_TOKEN as its bearer token,
then call admin_create_user:
{
"primaryEmail": "you@example.com",
"accessToken": "a-strong-random-agent-token",
"icsToken": "a-different-strong-random-token"
}Generate independent tokens with at least 32 random bytes. NoLook stores hashes
for authentication and AES-GCM encrypted copies for admin-only retrieval,
creates the primary receiving alias, and returns the user ID. Use the raw
accessToken in AI clients; do not give them MCP_ADMIN_TOKEN.
Administrative clients can call admin_get_user_credentials,
admin_rotate_access_token, and admin_rotate_ics_token. Existing hash-only
credentials remain valid but cannot be revealed until independently rotated.
Rotating an access token disconnects configured AI clients immediately;
rotating an ICS token invalidates the previous calendar subscription URL.
Replace the URL and token below with your deployment and mailbox access token.
After connecting, call get_current_user to verify authentication.
Set the token in your shell:
export NOLOOK_TOKEN="your-mailbox-access-token"Add this to ~/.codex/config.toml:
[mcp_servers.nolook]
url = "https://your-domain.example/api/mcp"
bearer_token_env_var = "NOLOOK_TOKEN"Restart Codex or open its MCP settings to load the server.
Set NOLOOK_TOKEN in the environment that launches Claude Code, then add a
project-level .mcp.json or equivalent user-level configuration:
{
"mcpServers": {
"nolook": {
"type": "http",
"url": "https://your-domain.example/api/mcp",
"headers": {
"Authorization": "Bearer ${NOLOOK_TOKEN}"
}
}
}
}Run claude mcp list to confirm the connection. Claude.ai and Claude Desktop
may require OAuth for published remote connectors; the current NoLook server
uses bearer-token authentication and is intended for MCP clients that support
custom headers.
Add the server in Cursor Settings > MCP, or place this in your user-level
~/.cursor/mcp.json:
{
"mcpServers": {
"nolook": {
"url": "https://your-domain.example/api/mcp",
"headers": {
"Authorization": "Bearer your-mailbox-access-token"
}
}
}
}Keep token-bearing Cursor configuration outside the repository.
The starter agent workflow is in
.agents/skills/nolookai-client-automation/SKILL.md.
The hosted NoLook service at nolookai.com has been discontinued and shut down.
This repository remains available as-is under the MIT License for reference.
pnpm test:once # unit and integration tests
pnpm test:coverage # TypeScript coverage report
pnpm lint
pnpm build
pnpm smoke:live # configured external servicesThis project is discontinued and no longer actively maintained. Issues and pull requests are not being monitored.
- Never expose or commit
MCP_ADMIN_TOKEN, mailbox access tokens, or ICS tokens. - Treat inbound email, attachments, and calendar content as untrusted input.
- Use separate development and production credentials.
- Review the deployment and run the test suite before routing important mail to NoLook.
Please report security issues privately to the repository owner rather than in a public issue.
NoLook is available under the MIT License.