https://github.com/wei/cloudflare-email-routing
📨 GitHub-driven self-service email forwarding system for forwarder.app domain.
https://github.com/wei/cloudflare-email-routing
Last synced: 4 months ago
JSON representation
📨 GitHub-driven self-service email forwarding system for forwarder.app domain.
- Host: GitHub
- URL: https://github.com/wei/cloudflare-email-routing
- Owner: wei
- License: mit
- Created: 2025-09-14T22:33:11.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-09-30T04:48:32.000Z (9 months ago)
- Last Synced: 2025-09-30T06:23:43.981Z (9 months ago)
- Size: 10.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Cloudflare Email Routing
> **📨 GitHub-driven self-service email forwarding system.**
[](https://developers.cloudflare.com/email-routing/)
[](https://www.gitops.tech/)
[](https://github.com/features/actions)
[](https://docs.github.com/en/issues)
[](https://opensource.org/licenses/MIT)
This project provides a secure and automated way for users to request new email addresses with forwarding rules, while giving administrators full control over approvals and deployment. The entire workflow is driven by GitHub Issues and powered by GitHub Actions and Cloudflare Email Routing API.
## ✨ Features
- **🎫 GitHub-Native Workflow:** Users request forwards using a simple GitHub Issue template.
- **🔒 Secure Admin Approval:** Designated administrators approve requests by adding a label.
- **🚀 Automated Deployment:** Approved requests are automatically deployed to Cloudflare via the API.
- **🤖 Bot-Driven Automation:** A GitHub Actions bot handles validation, verification, and notifications.
- **🔍 Collision Detection:** Prevents duplicate or conflicting forwarding rules.
- **👤 Ownership Tracking:** Users can only manage the forwarding rules they create.
- **📋 Full Audit Trail:** Every action is logged in GitHub Issues and Git history for complete transparency.
- **⏰ Stale Request Cleanup:** Automatically closes abandoned requests to keep the queue clean.
## 🚀 Getting Started
This repository is a template. To set up your own self-service email forwarding system, follow the instructions below.
### Prerequisites
- A **Cloudflare Account** with a domain and Email Routing enabled.
- A **GitHub Account** with a repository created from this template.
### For Administrators: Setup & Configuration
To get the system running, please follow the comprehensive **[Administrator Setup Guide](docs/ADMIN_GUIDE.md)**. This guide covers:
- Setting up Cloudflare API credentials.
- Creating the required GitHub secrets, variables, and labels.
- Defining administrator teams and permissions.
- Preparing the repository for user requests.
### For Users: Requesting Email Forwards
Once the system is configured, users can request and manage email forwards by following the **[User Guide](docs/USER_GUIDE.md)**.
## 📄 License
**[MIT](https://wei.mit-license.org)**
## 👨💻 Author
**Made with ❤️ by [@wei](https://github.com/wei)**