This changes the default behavior of composer. When encryption is
enabled, KMail will store the draft encrypted by default (with option
to turn it off). Previously this feature was off by default.
This is done by renaming NeverEncryptDrafts option to AlwaysEncryptDrafts
to avoid the double negative (!cfg->mNeverEncryptDrafts). For users
who had NeverEncryptDrafts off the behavior will remain the same, as
AlwaysEncryptDrafts is on by default, for all other users this feature
will become enabled and they can choose to turn it off.
Differential Revision: https://phabricator.kde.org/D7189
This adds 'Apply Filters on Folder' and 'Apply Filters on Folder and
its Subfolders' actions to KMail main menu. This allows to simply
execute any filter (or all filters) on an entire folder with a single
click.
This change also extends the Mail Filter Agent DBus API to allow callers
to pass Collection IDs to the Agent and the Agent will resolve the Items
itself, instead of the caller having to first obtain the Items and then
pass all of them via DBus.
When a filter has the 'Apply to inbound emails in all folders' option enabled,
the MFA will monitor all Collections and will match the filter against all
incoming emails in all folders. This option combines with the 'Only apply to
account' option, so one can restrict the filter to only apply against all
folders from only a specific account.
Differential Revision: https://phabricator.kde.org/D7135