Create unique email addresses that forward to your real inbox
C

Create unique email addresses that forward to your real inbox

Create unique email addresses that forward to your real inbox

683 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

Hide Your Real Email Without the Hassle

We've all been there. You need to sign up for a service, but you don't fully trust it with your primary email. Maybe it's a one-time download, a sketchy-looking forum, or a shopping site you know will spam you. You could create a burner Gmail, but that's a whole process. Wouldn't it be nice to just make up a unique email on the spot that still forwards to your real inbox?

That's the exact itch that the hide-my-mail-cloudflare project scratches. It's a clever, self-hosted solution that turns your domain into an infinite supply of disposable email addresses.

What It Does

In short, this project is a Cloudflare Worker that acts as an email gateway. You point your domain's email (using Cloudflare Email Routing) to this worker. The worker then creates a rule: any email address at your domain (e.g., [email protected], [email protected]) will be caught, processed, and forwarded to your actual, private email address.

The magic is in the "any" part. You don't pre-create these addresses. You just invent them when you need them. Signing up for a newsletter? Use [email protected]. The first time a message is sent to that address, the system creates the forwarding rule on the fly.

Why It's Cool

The implementation is what makes this stand out. It's not a bulky app; it's a single, serverless function living on Cloudflare's edge network. This means it's cheap (likely free under the Workers free tier), fast, and requires no maintenance of a server.

It also gives you back control and insight. Since you're using your own domain, you can instantly identify who sold your data. Getting spam to [email protected]? You know exactly which retailer is to blame. You can then block that specific alias without affecting any other forwarded emails.

It’s a perfect example of using modern, serverless infrastructure to solve a common privacy problem with minimal code and maximum elegance.

How to Try It

You'll need a domain and a Cloudflare account (with your domain's nameservers pointed to Cloudflare).

  1. Fork or clone the repository: Head over to the hide-my-mail-cloudflare GitHub repo.
  2. Deploy the Worker: The README has detailed steps. You'll use Wrangler (Cloudflare's CLI tool) to deploy the JavaScript Worker.
  3. Configure Cloudflare Email Routing: In your Cloudflare dashboard, enable Email Routing for your domain and set the destination to your newly deployed Worker.
  4. S

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Feb 1, 2026