https://github.com/okisdev/email-aliases
A Skiff Mail Quick Aliases alternative.
https://github.com/okisdev/email-aliases
mail skiff workers
Last synced: 10 months ago
JSON representation
A Skiff Mail Quick Aliases alternative.
- Host: GitHub
- URL: https://github.com/okisdev/email-aliases
- Owner: okisdev
- License: mit
- Created: 2024-02-19T15:54:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T22:20:06.000Z (about 1 year ago)
- Last Synced: 2025-05-06T23:24:46.265Z (about 1 year ago)
- Topics: mail, skiff, workers
- Language: TypeScript
- Homepage:
- Size: 36.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Email Aliases
A [Skiff Mail Quick Aliases](https://skiff.com/quick-alias) 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 anything@your.domain.com 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:
- all the receipts can be sent to `receipts@your.domain.com`
- all the newsletters can be sent to `newsletters@your.domian.com`
- all the bookings can be sent to `booking@your.domain.com`
## 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 `something@your.domain.com` 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: , and add an new email trigger. (See 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 `something@your.domain.com`, and you will receive the email in the email address you set in `config/matcher.ts`.
## LICENSE
[MIT](./LICENSE)