Adding progress bar for syncing mails