[Snails] Emit folderSyncFinished() on sync finish.
[Snails] ATW::getMessageCount().
[Snails] Stubs for checking message count.
[Snails] Connect folderSyncFinished().