Share a multi-mailbox management tool for your own use: Outlook / IMAP / Cloudflare temporary mailbox collects emails together, supports automatic verification code and read-only sharing.

A local-first self-hosted multi-mailbox management tool that supports Outlook (Graph/IMAP), common IMAP/POP3 and Cloudflare temporary mailboxes. It comes with automatic extraction of verification codes, batch refresh of Token/verification, read-only sharing links, and provides Windows single file EXE and Docker deployment.

I usually have a lot of Outlook mailboxes at hand, and it is quite a hassle to switch to web pages to receive verification codes and prevent token expiration. So I asked Da Feiyu and Hakimi to write a self-hosted multi-mailbox management tool. After sorting it out, it was open sourced and can be used by those with similar needs.

GitHub repository:https://github.com/GJ-NA/Email-Management

Management interface UI
Management interface UI

Main functions

  • Centralized collection of mails from multiple types of mailboxes: Supports Outlook (Graph API + OAuth2 IMAP automatic switching), common IMAP/POP3 mailboxes, and also supports access to your own Cloudflare temporary mailbox.
  • Automatically extract verification code: The verification code will be automatically recognized in the list and email details, and you can copy it directly without clicking to open the text.
  • Batch management and operation and maintenance: Supports multi-level grouping, custom labels, batch import and export, scheduled/batch refresh of tokens, batch verification, and can also assign separate agents to groups or individual accounts (with standby agent failover).
  • Read-only shared link: You can generate a limited-time or permanent read-only sharing page for a single mailbox. When others open it, they can only view the inbox/trash box and copy the verification code. They cannot get the original account password and token. It is very convenient to borrow your account to others to receive the verification code.
  • Local storage & security hardening: Account password, token and agent information are all encrypted and stored in local SQLite; the email body is rendered using DOMPurify + sandbox iframe isolation, and the server deployment also comes with CSRF / SSRF / log desensitization protection.

Usage

  • Windows local direct running: There are packages in the warehouse. EmailManagement.exe, you can start it by double-clicking it. All data is stored in the local directory, and there is no need to configure the environment.
  • Server Docker deployment: Ready-made multi-architecture images and docker-compose.yml, pull it down and change the password and key and it will be running in a few minutes.
  • In addition, the warehouse also comes with a Chrome/Edge sidebar plug-in and external query API, which is convenient for daily code checking or docking scripts.

You are welcome to try it out. If you have any questions, you can also make suggestions for improvement. If you need it, you can pick it up. If you think it is convenient, you can click a star~

please Log in or Register an account Participate in discussions, download exclusive add-ons or unlock level posts.