https://github.com/longern/inactive-email-manager
Inactive Email Manager is a secure, customizable, and automated solution for managing sensitive information that can be triggered to release in the event of unforeseen circumstances.
https://github.com/longern/inactive-email-manager
cloudflare-email cloudflare-workers cloudflare-workflows typescript
Last synced: about 1 year ago
JSON representation
Inactive Email Manager is a secure, customizable, and automated solution for managing sensitive information that can be triggered to release in the event of unforeseen circumstances.
- Host: GitHub
- URL: https://github.com/longern/inactive-email-manager
- Owner: longern
- License: mit
- Created: 2024-11-28T08:54:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-13T02:54:20.000Z (over 1 year ago)
- Last Synced: 2025-02-08T21:48:26.449Z (over 1 year ago)
- Topics: cloudflare-email, cloudflare-workers, cloudflare-workflows, typescript
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inactive Email Manager
**Inactive Email Manager** is a secure, customizable, and automated solution for managing sensitive information that can be triggered to release in the event of unforeseen circumstances.
## Features
- **Trigger-Based Activation**: Release sensitive information only when a specific request is initiated.
- **Timed Confirmation**: Includes a countdown workflow to confirm user inactivity before releasing any information.
- **Serverless Implementation**: Built with Cloudflare Workers for scalability, reliability, and free.
## How It Works
1. **Setup**: The user configures their sensitive data and trusted contacts via Cloudflare dashboard.
2. **Trigger Request**: A trusted contact sends an email to initiate the process.
3. **Countdown Workflow**: A Cloudflare Workflow starts:
1. **Notification**: Sends an email to the user to confirm their inactivity.
2. **Countdown**: Waits for a predefined period of time (e.g., 7 days)
3. **Confirmation**: Sends a final email to provide the sensitive information
The user can cancel the workflow at any time.
## Getting Started
1. [Verify your email address](https://developers.cloudflare.com/email-routing/get-started/enable-email-routing/) and your trusted contacts' email addresses in Cloudflare Email Routing.
2. Fork this repository. Create a new Cloudflare Worker and connect your fork in Settings -> Build -> Git Repository.
3. Create a variable `OWNER_EMAIL` as your email address.
Create a secret `SECRET` as a cryptographically secure random string. You can use https://djecrety.ir/ .
Create a secret `VAULT_CONTENT` as any secret content you want to send to your trusted contacts.
4. Add a custom address in Email -> Email Routing -> Custom addresses as the trigger email.
5. [Send an email](mailto:trigger@example.com?subject=invite&body=List%20your%20contacts%3A%0A) to the trigger email address with the subject `invite`. The content of the email should be the trusted contact's email addresses, each on a new line.