> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Buzon: Self-Hosted Temporary Email Service with Cloudflare and D1
- URL: https://www.stirup.si/buzon-self-hosted-temporary-email-service-with-cloudflare-and-d1-ea8437cc/
- Published: 2026-11-13T09:36:00.000Z
- Updated: 2026-11-13T09:36:00.000Z
- Description: Buzon uses Cloudflare Worker and D1 to provide a self-hosted temporary email service, enabling quick deployment and automated management of temporary email addresses.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Implementation and Deployment

The implementation of *buzon* leverages a Cloudflare Worker with D1 to create a self-hosted, temporary email service. This setup allows users to run a mail server without the need for traditional infrastructure. The deployment process is streamlined, with a first install achievable in a single command. Upgrades and database patches are handled through automated deployment scripts, ensuring that every change is visible and confirmed by the user. Documentation, specifically in *docs/deploying.md*, outlines the steps required to deploy the service, starting from configuring a domain on Cloudflare to launching the service using `buzon init --deploy`. This approach simplifies the setup and maintenance of the service, making it accessible to developers and system administrators looking to implement a temporary email solution with minimal overhead.

## Address Management and Lifecycle

Address Management and Lifecycle involves organizing temporary email addresses into three distinct tiers based on their intended lifespan. The 'ste' tier is designed for single-use codes, 'mte' for addresses valid for a few weeks, and 'lte' for long-term accounts. According to [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si), this tiered approach allows for more precise control over address longevity. [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si) explains that buzon, the service managing these addresses, assigns a lifetime to each address, automatically cleaning up short-term addresses while retaining records of long-term ones. A daily cron job, as noted in [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si), deletes expired 'ste' and 'mte' addresses based on their tier, ensuring that the system remains efficient and clutter-free. This lifecycle management ensures that temporary addresses are used appropriately and removed when no longer needed, without affecting the integrity of long-term accounts.

## Integration with Agents and Automation

Integration with agents and automation is streamlined through specialized skills that enable AI agents to interact with temp mail services efficiently. For instance, the `wait --code` and `wait --link` commands allow agents to retrieve codes or links directly, making them ready for use in scripts or automated workflows. Additionally, an agent skill exists that instructs AI agents on when to select specific tiers and how to obtain a code. The `skills/buzon` skill further enhances this capability by teaching agents to choose the appropriate tier, retrieve a code or link, and even locate an address at a later time. These features demonstrate how temp mail services can be seamlessly incorporated into agent-driven systems, enabling more dynamic and autonomous interactions without requiring manual intervention.

## Security and Configuration

The **Security and Configuration** section of the *Give your agent its own temp mail service* project outlines how to install and configure `buzon`, a temporary email service tool. Installation can be done via `Bun` with `bun add -g @shbernal/buzon`, or as a standalone binary for supported platforms like Linux and macOS. `buzon` retrieves passwords from environment variables `BUZON_SITE_PASSWORD` and `BUZON_ADMIN_PASSWORD`, or from the system keyring using `secret-tool` on Linux or the Keychain on macOS. For quick setup, users can store the site password in the keyring using `secret-tool` on Linux or `security add-generic-password` on macOS. If keyring access is not available, users can export the password via environment variables. `buzon` communicates with the Worker over HTTPS and stores site and note data locally on the machine, ensuring data remains private and under user control.

## Privacy and Usability Improvements

Privacy and usability improvements in temporary email services are critical for users seeking both security and convenience. Public temp-mail services are often blocked by sign-up forms, and their inboxes are readable by anyone who guesses the name, as noted in [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si). A catch-all on your own domain avoids these issues but can lead to a cluttered inbox with addresses that are difficult to remember, according to [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si). A local registry of every address with its associated site and note provides a solution, allowing users to easily recall which address was used for a specific service, such as GitHub, as described in [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si). These improvements help users maintain control over their digital identity while reducing the risk of misuse or exposure.

## Sources and reporting notes

- [Hacker News Show](https://github.com/shbernal/buzon?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.