by beilunyang
A cute temporary email service built with NextJS + Cloudflare technology stack 🎉 | 一个基于 NextJS + Cloudflare 技术栈构建的可爱临时邮箱服务🎉
# Add to your Claude Code skills
git clone https://github.com/beilunyang/moemailmoemail is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by beilunyang. A cute temporary email service built with NextJS + Cloudflare technology stack 🎉 | 一个基于 NextJS + Cloudflare 技术栈构建的可爱临时邮箱服务🎉. It has 2,839 GitHub stars.
moemail's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/beilunyang/moemail" and add it to your Claude Code skills directory (see the Installation section above).
moemail is primarily written in TypeScript. It is open-source under beilunyang on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh moemail against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.



Full Documentation: https://docs.moemail.app
The documentation site contains detailed usage guides, API documentation, deployment tutorials, and other complete information.
git clone https://github.com/beilunyang/moemail.git
cd moemail
pnpm install
cp wrangler.example.json wrangler.json
cp wrangler.email.example.json wrangler.email.json
cp wrangler.cleanup.example.json wrangler.cleanup.json
Set Cloudflare D1 database name and database ID.
cp .env.example .env.local
Set AUTH_GITHUB_ID, AUTH_GITHUB_SECRET, AUTH_SECRET.
pnpm db:migrate-local
pnpm dev
pnpm deploy:email
pnpm dev:cleanup
pnpm test:cleanup
pnpm generate-test-data
https://www.youtube.com/watch?v=Vcw3nqsq2-E
cp .env.example .env
Set Environment Variables in the .env file.
Run deployment script
pnpm dlx tsx ./scripts/deploy/index.ts
This project supports automated deployment using GitHub Actions. It supports the following triggers:
Add the following Secrets in GitHub repository settings:
CLOUDFLARE_API_TOKEN: Cloudflare API TokenCLOUDFLARE_ACCOUNT_ID: Cloudflare Account IDAUTH_GITHUB_ID: GitHub OAuth App IDAUTH_GITHUB_SECRET: GitHub OAuth App SecretAUTH_SECRET: NextAuth Secret, used to encrypt session, please set a random stringCUSTOM_DOMAIN: Custom domain for the website (Optional, if empty, uses Cloudflare Pages default domain)PROJECT_NAME: Pages project name (Optional, if empty, defaults to moemail)DATABASE_NAME: D1 database name (Optional, if empty, defaults to moemail-db)KV_NAMESPACE_NAME: Cloudflare KV namespace name, used for site settings (Optional, if empty, defaults to moemail-kv)Choose trigger method:
Method 1: Push Tag Trigger
# Create a new tag
git tag v1.0.0
# Push tag to remote repository
git push origin v1.0.0
Method 2: Manual Trigger
Deployment progress can be viewed in the Actions tab of the repository.
v (e.g., v1.0.0).In the MoeMail User Profile page, you can configure the site's email domains. Supports multiple domain configurations, separated by commas.

To make email domains effective, you also need to configure email routing in the Cloudflare console to forward received emails to the Email Worker.



Destination addresses next to Routing rules, and bind an email address there.The project uses a Role-Based Access Control (RBAC) system.
New user default roles are configured by the Emperor in the site settings in the User Profile:
The system includes four role levels:
Emperor
Duke
Knight
Civilian