/// <summary>
        /// Returns <see cref="FolderCollection"/> instance.
        /// </summary>
        /// <remarks>
        /// Draft folders will be filtered.
        /// </remarks>
        public FolderCollection TryGetFoldersCollection()
        {
            FolderCollection folders = null;

            try {
                folders = _client.DownloadFolders(false);
            } catch (MailBeeException e) {
                throw new ImapException(LocSyncError.ToString(), e);
            }
            int draftsIndex = GetIndexDraftsFolder(folders);

            if (draftsIndex > 0)
            {
                folders.RemoveAt(draftsIndex);
            }
            return(folders);
        }