Bug 334925 - [feature request] Archive Mails by moving them to a "computed" folder in the same mail account
Summary: [feature request] Archive Mails by moving them to a "computed" folder in the ...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 4.11.5
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-17 07:46 UTC by Andreas T
Modified: 2014-05-17 12:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas T 2014-05-17 07:46:36 UTC
Thunderbird has one feature that I would really like to see in Kmail, as it really saves time organizing and finding emails: 
Instead of deleting or saving mails to disk, Thunderbird offers the possibility to "archive" mails with a simple keystroke. When in an arbitrary folder of a mail account , archiving one or multiple mails will move the mails to a special folder in the same mail account. The name/path of the special folder is computed, in case of Thunderbird it is "Archives/${YEAR}" while ${YEAR} is the year of the arrival/sending date of the mail. If the folder "Archives/${YEAR}" does not exist yet, it is created automatically. Using the archiving functionality on multiple mails should compute the destination folder separately for every mail. When working with multiple mail accounts, the mail must be moved to the archive folder of the mail account, that it is stored in, when invoking the archive function. In Kmail, this function should be reachable by a shortcut or a button in the toolbar. 

The feature like described above would be great. To make it more comfortable, I would suggest to add two options in the mail-account settings dialog:
1. choose the base-folder for archiving
2. choose the algorithm for computing the sub-folder in the base-folder, for example:
- "${BASE-FOLDER}/${YEAR}"
- "${BASE-FOLDER}/${YEAR}/${MONTH}"
- "${BASE-FOLDER}/${SENDER-ADDRESS}"

Optionally: Setting a folder as the archive base-folder causes kmail to change the folder's icon, e.g. the icon used for ZIP-files.

Reproducible: Always
Comment 1 Laurent Montel 2014-05-17 12:36:46 UTC
already done in 4.12/4.13