Giter Site home page Giter Site logo

email-aliases's Introduction

Email Aliases

A Skiff Mail Quick Aliases alternative.

How it works

This is a simple email aliases service that uses Cloudflare Workers to forward emails to a single email address.

You can use [email protected] to receive emails, and all the emails will be forwarded to one email address.

As Skiff Mail said, Protect your inbox and identify. You can use this service to protect your inbox from spam and identify the source of the emails.

Example:

Requirements

  • Wrangler installed
  • bun installed
  • Cloudflare Account

Usage

  1. Clone the repository: git clone https://github.com/okisdev/email-aliases.git
  2. Run bun install to install the dependencies.
  3. Run wrangler login to login to your Cloudflare account.
  4. Fill in the domain and matcher in config/domain.ts, all the [email protected] will be forwarded to the email address you set in config/matcher.ts.
  5. Run wrangler deploy to publish the worker to Cloudflare.
  6. Go to your Cloudflare Workers and Pages dashboard: https://dash.cloudflare.com/account-id/workers/services/view/email-aliases/production/triggers#email, and add an new email trigger. (See https://developers.cloudflare.com/email-routing/email-workers/ to learn more about Email Workers.)
  7. In Edit catch-all address page, set Action to Send to a Worker, and set the Worker to the worker you just deployed.
  8. Done!

Now try to send an email to [email protected], and you will receive the email in the email address you set in config/matcher.ts.

LICENSE

MIT

email-aliases's People

Contributors

okisdev avatar renovate[bot] avatar

Stargazers

ʟᴏᴄᴀʟʜᴏꜱᴛ avatar Joey avatar

Watchers

 avatar  avatar

email-aliases's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

bun
package.json
  • @cloudflare/workers-types ^4.20240208.0
  • typescript ^5.3.3
  • wrangler 3.28.1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.