<table><tr><td style="">dvratil created this revision.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />dvratil requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15065">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The agent (which in reality is a Resource in order to be able to own<br />
Collections) creates Inbox, Sent and Drafts virtual Collections and links<br />
all Items from real special Collections into them. It listens for changes<br />
in the source collections and updates the virtual Collections accordingly.</p>

<p>Uses can also customize the default unified mailboxes and create their<br />
own.</p>

<p>The agent can be enabled or disalbed from KMail's Plugins settings like<br />
other agents. By default the agent is off, however, if KMail detects that<br />
user has more than one account set up it will ask the user if they want<br />
to enable the feature. User is only ever asked once, the purpose is to<br />
make the feature easier to discover without bothering users with only<br />
one email account.</p>

<p>It appears that the virtual collections are slower to open than regular<br />
collections, but that's a problem on Akonadi side as querying Items from<br />
virtual collections requires some extra queries. Other than that it works<br />
pretty well.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Have been using this for a while + there's some test coverage.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R206 KMail</div></div></div><br /><div><strong>BRANCH</strong><div><div>dev/unified-mailboxes</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15065">https://phabricator.kde.org/D15065</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>agents/CMakeLists.txt<br />
agents/unifiedmailboxagent/CMakeLists.txt<br />
agents/unifiedmailboxagent/autotests/CMakeLists.txt<br />
agents/unifiedmailboxagent/autotests/unifiedmailboxmanagertest.cpp<br />
agents/unifiedmailboxagent/autotests/unittestenv/config.xml<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi-firstrunrc<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi_knut_resource_0rc<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi_knut_resource_1rc<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi_knut_resource_2rc<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdglocal/testdata-res1.xml<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdglocal/testdata-res2.xml<br />
agents/unifiedmailboxagent/autotests/unittestenv/xdglocal/testdata-res3.xml<br />
agents/unifiedmailboxagent/common.h<br />
agents/unifiedmailboxagent/mailkernel.cpp<br />
agents/unifiedmailboxagent/mailkernel.h<br />
agents/unifiedmailboxagent/org.freedesktop.Akonadi.UnifiedMailboxAgent.xml<br />
agents/unifiedmailboxagent/settings.kcfg<br />
agents/unifiedmailboxagent/settings.kcfgc<br />
agents/unifiedmailboxagent/settingsdialog.cpp<br />
agents/unifiedmailboxagent/settingsdialog.h<br />
agents/unifiedmailboxagent/unifiedmailbox.cpp<br />
agents/unifiedmailboxagent/unifiedmailbox.h<br />
agents/unifiedmailboxagent/unifiedmailboxagent.cpp<br />
agents/unifiedmailboxagent/unifiedmailboxagent.desktop<br />
agents/unifiedmailboxagent/unifiedmailboxagent.h<br />
agents/unifiedmailboxagent/unifiedmailboxeditor.cpp<br />
agents/unifiedmailboxagent/unifiedmailboxeditor.h<br />
agents/unifiedmailboxagent/unifiedmailboxmanager.cpp<br />
agents/unifiedmailboxagent/unifiedmailboxmanager.h<br />
agents/unifiedmailboxagent/utils.h<br />
src/configuredialog/configureaccountpage.cpp<br />
src/configuredialog/configureplugins/configurepluginslistwidget.cpp<br />
src/kmkernel.cpp<br />
src/kmkernel.h<br />
src/kmmainwidget.cpp<br />
src/kmmainwidget.h<br />
src/settings/kmail.kcfg.cmake</div></div></div><br /><div><strong>To: </strong>dvratil<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>