mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
Feature Request: Rule-based email archiving, folder structure and backups #59
Open
opened 2026-04-05 16:16:19 +02:00 by MrUnknownDE
·
0 comments
No Branch/Tag Specified
main
gh-pages
v0.5.1-dev
v0.4.3-release
ee-legalhold
ee-retention
v0.4.3-dev
wayneshn-patch-1
v0.4.3-pre
v0.4.2-fix
v0.4.2-dev
v0.4.1-dev
mailbox-processing-opt
v0.4.0-fix
ee-init
docs-ocr
v0.3.x-fixes
issue-templates
security-update
create-funding-yml
display-versions
attachment-ocr
docs
user-api-key
demo-mode
v0.3.0
system-settings
wip
CLA-v2
role-based-access
dev
v0.5.0
v0.4.2
v0.4.1
v0.4.0
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.1
v0.2.0
v0.1.2
v0.1.1
v0.1.0
Labels
Clear labels
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
documentation
documentation
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
help wanted
help wanted
improvement
improvement
question
question
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
MrUnknownDE
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github/OpenArchiver#59
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crammaster on 1/17/2026
Is your feature request related to a problem? Please describe.
OpenArchiver is a great idea to archive emails while keeping full data ownership, without the need to run a full mail server.
However, at the moment there is no way to control which emails are archived and which are not.
All emails are treated equally, although in practice some emails are far more important than others (e.g. invoices vs. spam or notifications).
Additionally, archived emails cannot be organized in a meaningful folder structure, and there is no integrated way to back up archived data and configuration.
This limits OpenArchiver’s usefulness as a long-term email archive.
Describe the solution you'd like
1. Rule-based archiving
Introduce a dedicated Rules section, separate from Mail Accounts.
Mail Accounts -> Used to configure IMAP access and load the folder structure of the mailbox.
Rules -> Define which emails should be archived.
When creating a rule, OpenArchiver could load the folder structure of the selected mailbox to allow easy selection.
Example:
A mail account called “Private Mails” contains the folders:
A rule could specify that only emails from the folder “Amazon” should be archived.
Additional rule options could include:
2. Folder structure inside OpenArchiver
It would be very useful if OpenArchiver supported an internal folder structure for archived emails.
Based on the example above:
This would allow better organization of archived emails and make retrieval easier.
As with the rules above, an optional setting to delete the email from the mailbox after archiving would be useful here as well.
3. Integrated backup functionality
OpenArchiver acts as a long-term archive and implicitly also as a backup of emails.
Therefore, an integrated backup function would be very helpful.
The backup could run at configurable intervals and include:
The backup could:
Describe alternatives you've considered
These approaches either lack flexibility, are error-prone, or do not cover application-level configuration such as rules and users.
Additional context
The goal of these features is to make OpenArchiver more flexible as a long-term email archive while keeping full data ownership and minimizing manual effort.