Author Topic: Different Syncing for Different Folders in the Same Account  (Read 12440 times)

gadgetfreak

  • Newbie
  • *
  • Posts: 28
I have just one Office365 account. In it, I want to sync (pull every 10 minutes) the entire inbox and drafts folders. But I want to only sync the last 24 hours of e-mail in the Sent, Old and Deleted folders. Is this possible? Right now, the sync seems to be taking a while as it goes through all the folders (these other folders have thousands of e-mails). Thank you in advance.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Different Syncing for Different Folders in the Same Account
« Reply #1 on: May 24, 2016, 09:43:37 pm »
The "thousands of emails" don't really matter -- but how many messages you're asking the app to sync does, and it's (at most) an account level setting. Same with sync frequency.

Yes, it can take a while if you've got multiple folders and the "messages to sync" setting is large.

I'm planning to work on making it better (not in the 1.6.2 which is almost ready to get rolling, but soon-ish after that). Sorry that's the best I've got for you right now.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

gadgetfreak

  • Newbie
  • *
  • Posts: 28
Re: Different Syncing for Different Folders in the Same Account
« Reply #2 on: May 24, 2016, 09:47:10 pm »
OK. I just wanted to make sure I wasn't missing any setting. I read about different settings across accounts so that is why I was asking about differences across folders in the same account. You mention it has to do with the number of items synced and the frequency. Is that the number of items per folder or total? Is it based on newest to oldest? Is there a way to sync all the e-mail in all folders for the last two weeks (for example). I generally don't have anything in my inbox older than that anyway and that will limit what is getting synced across the other folders?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Different Syncing for Different Folders in the Same Account
« Reply #3 on: May 24, 2016, 10:09:11 pm »
For Exchange, right now, the "messages to sync" setting is numeric only, i.e. "25 most recent messages" or "50" or "100".

Date ranges (e.g. "last 5 days" or "10 days" or "30") are only available for IMAP, but I'll be implementing this for Exchange too.

For now please check the "messages to sync" by long pressing the account -> options and folders -> account options.

If it's above 100, please try a smaller value, should make a difference.

And I reiterate, this is the number of recent messages that the app considers during mail check at all, the total number of messages (beyond that) doesn't matter.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

gadgetfreak

  • Newbie
  • *
  • Posts: 28
Re: Different Syncing for Different Folders in the Same Account
« Reply #4 on: May 24, 2016, 10:37:41 pm »
Is it per folder or total? If I move to 100, it means it will sync the most recent 100 messages. Since I am syncing every 10 minutes, I can't imagine getting more than 100 in that time. Usually less than 10.\

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Different Syncing for Different Folders in the Same Account
« Reply #5 on: May 24, 2016, 11:10:58 pm »
Re: Is it per folder or total?

Re: If I move to 100, it means it will sync the most recent 100 messages

"Sync" - kept up to date with the server, and shown when you open this folder's message list - not necessarily "new never before seen and just received".
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Different Syncing for Different Folders in the Same Account
« Reply #6 on: May 25, 2016, 12:16:00 am »
Re: Is it per folder or total?

Re: If I move to 100, it means it will sync the most recent 100 messages

"Sync" - kept up to date with the server, and shown when you open this folder's message list - not necessarily "new never before seen and just received".
As far as I understand:
... the most recent 100 messages per folder, not in total for the whole account (across all folders).
Is this correct?

Davey126

  • Sr. Member
  • ****
  • Posts: 258
Re: Different Syncing for Different Folders in the Same Account
« Reply #7 on: May 25, 2016, 04:19:48 pm »
I have just one Office365 account. In it, I want to sync (pull every 10 minutes) the entire inbox and drafts folders. But I want to only sync the last 24 hours of e-mail in the Sent, Old and Deleted folders. Is this possible? Right now, the sync seems to be taking a while as it goes through all the folders (these other folders have thousands of e-mails). Thank you in advance.
While this suggestion is not immediately applicable (as I believe you are using Exchange) thought I would share my IMAP config which works well with a single Gmail account containing numerous folders and tens of thousands of messages. Food for thought now or later depending on future sync capabilities Kostya mentioned in a previous post.

  Sync folders: Inbox, All Mail, Drafts, Sent, Trash
  Sync settings: 90 days / 250 messages
  Mail receiving: IMAP Push; no scheduled syncs; event based sync (app resuming)

After the initial sync subsequent updates happen very quickly. Although all messages (within sync window) are immediately accessible in the 'All Mail' view I can easily refresh individual folders as needed. Despite the high message counts my Aqua database is well under 50MB.

Obviously a responsive device, server and decent network connections are required. The above is not a Rx - just something to thing about. It also involves the 'All Mail' folder which is controversial and may not be applicable in your situation.