feat(examples): add mcp-atomicmail-js - #116
Open
7supersayin wants to merge 1 commit into
Open
Conversation
Add a Model Context Protocol example that gives an E2B sandbox agent its own email inbox using the Atomic Mail MCP server (@atomicmail/mcp). The agent registers an @atomicmail.ai address via proof-of-work (no human, no CAPTCHA, no API key), then sends and receives mail over JMAP. Verified end to end against a live E2B sandbox: register -> send -> receive. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
We require contributors to sign our Contributor License Agreement, and we don't have @7supersayin on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check' |
Author
|
@cla-bot check |
|
We require contributors to sign our Contributor License Agreement, and we don't have @7supersayin on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check' |
|
The cla-bot has been summoned, and re-checked this pull request! |
Author
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
A new Model Context Protocol example —
examples/mcp-atomicmail-js— that gives an agent running in an E2B sandbox its own email inbox using the Atomic Mail MCP server (@atomicmail/mcp).The example:
register,jmap_request, andhelptools over authenticated HTTP.registerto create a fresh@atomicmail.aiinbox via a proof-of-work signup — no human, no CAPTCHA, and no Atomic Mail API key.send_mailJMAP preset.list_inboxpreset and reads the message back.It follows the structure and quality of the existing
mcp-custom-server-jsexample (sameindex.ts+package.json+tsconfig.json+env.template+README.md+package-lock.jsonlayout), and adds a row to the Model Context Protocol (MCP) table in the rootREADME.md.Why it's useful to the E2B ecosystem
Autonomous agents constantly hit "please verify your email." Atomic Mail removes that wall: an agent signs itself up in ~30 seconds and owns a real, deliverable inbox end to end — no human setup. Inside an E2B sandbox this unlocks email verification, newsletter digests, support inboxes, and async email surveys, all hands-free. The only credential the user provides is their
E2B_API_KEY.Testing status
Verified end to end against a live E2B sandbox (
register→send→receive):tsc --noEmitalso passes cleanly. To reproduce:cp env.template .env, add yourE2B_API_KEY, thennpm install && npm start.Links