Author Topic: limit sync of sent and deleted  (Read 10636 times)

mrisch

  • Newbie
  • *
  • Posts: 12
limit sync of sent and deleted
« on: September 22, 2017, 01:04:06 am »
I'm trying out aqua mail. It looks good, but I am trying to understand sent and deleted folders, which I'm required to sync, apparently. I send + receive and delete hundreds of emails a day. So far today, AM used 5%of my battery in the last hour syncing these folders.

Is there a way for my sent and deleted items to go to the right folder on my office 365 system when I send or delete, but only be available locally in search, but otherwise not in constant sync?

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: limit sync of sent and deleted
« Reply #1 on: September 22, 2017, 01:47:41 am »
What are your settings for syncing?  Push and/or scheduled sync? How frequently?

I don't know how you've configured Aquamail and your account in it, - but just in case: you don't want to enable Push for folders rather then incoming (Inbox).
That way, those folders will be synced only during the scheduled sync, and also when you send or delete a message.
If you don't have them syncing at all, - your server would never know what happened to those messages.

mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #2 on: September 22, 2017, 02:06:00 am »
I have polled setup every 30 minutes. Push is only in pro and I'm not ready to pay yet until I know this will work.

I want one way sync- sync my sent and deleted out, but don't sync 30 days of sent and deleted in. I don't need or want that kind of overhead.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: limit sync of sent and deleted
« Reply #3 on: September 22, 2017, 03:14:15 pm »
I send + receive and delete hundreds of emails a day. So far today, AM used 5%of my battery in the last hour syncing these folders.

I have polled setup every 30 minutes.

There is inconsistency in what you are observing. If your sync is every 30 minutes, it will happen twice per hour, and it will be very quick (unless you set it to a huge number of messages).
But, if during that hour you were sending and deleting your messages, - then majority of the battery use would come from the display. Usually display and GPS are two most battery consuming functionalities. 
Also, note that Android 5+ has a bug of how it reports battery usage. Read the FAQ item "Android 5+ and high battery use, 'mobile radio active'" http://www.aqua-mail.com/?page_id=227 .

mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #4 on: September 22, 2017, 03:28:16 pm »
Sure, it's possible that that battery was due to setup and initial download. We'll see.

But this doesn't answer the bigger question, which is why I must have 3500+ deleted items (30 days worth) gobbling up storage on my phone, plus the daily bandwidth of all of my unsynced deleted items (hundreds of RSS items a day that I read on my desktop but not on my phone) syncing up to my phone.

mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #5 on: September 22, 2017, 06:10:39 pm »
Adding more to this, the bandwidth usage seems very high. Every sync seems to take between 1MB and 3MB of downloaded data (even .7MB for zero messages). My Touchdown uses 9K for zero messages and 40K for one message.

Perhaps some of it is EWS v. EAS, but some has to be syncing thousands of sent and deleted items each time. Sure, I can only sync 5 days back, but then I don't have all the mail updated on my phone, which I would like.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: limit sync of sent and deleted
« Reply #6 on: September 23, 2017, 12:14:35 am »
1-3 MB per sync, - that enormous!
Either you have crazy volumes of e-mail, you've got something set in Aquamail in a weird way, or something else is wrong.

What are your sync settings? (You've just finally divulged that you are using EWS.)
Days (or messages) to sync?
Messages to cache?

You may want to create a debug log for one of the episodes of syncing and send via e-mail to support. See one of Kostya's responses -- there is a link to how catch a log in his signature.


mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #7 on: September 23, 2017, 12:25:22 am »
I didn't "just" divulge EWS. My OP says I'm using office365. There's no activesync support, is there?

I'm syncing 30 days, 250 messages to cache (no idea what that means). I have the exact same settings in Touchdown - 9K, and in Nine (now testing) - 100K.

If there's some secret sauce, I'd like to know it. It's downloaded some 500 deleted items today that don't sync to those other systems.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: limit sync of sent and deleted
« Reply #8 on: September 23, 2017, 04:40:28 am »
I didn't "just" divulge EWS. My OP says I'm using office365. There's no activesync support, is there?
Office365 can also be accessed via IMAP or POP3. (You can google that, see e.g. https://www2.warwick.ac.uk/services/its/servicessupport/email/liveemail/faqs/popimap/  )

I'm syncing 30 days, 250 messages to cache (no idea what that means). I have the exact same settings in Touchdown - 9K, and in Nine (now testing) - 100K.
If you have 3500+ deleted messages over 30-day period, I wonder: how many messages do you have in your Inbox? If you have more than that, you might consider reducing that number.
If you really need some of the older messages, you can always keep scrolling, and the app will load additional messages.

Now, another issue is 250 messages to cache.
To understand what that setting does, read the FAQ item "Messages to sync and messages to cache settings" http://www.aqua-mail.com/?page_id=227

Normally, "messages to cache" is expected to be larger then "messages to sync".
I know that when they are the other way around, and "messages to sync" is set for the number of messages, Aquamail is smart enough to recognize this problem, and behaves correctly.

I am not sure if the same happens when "messages to sync" is set to the number of days, and that effectively exceeds the number of messages to cache. I wonder, if Aquamail might delete some messages from "cache", and that results in the necessity to re-download those messages next time. You'd have to wait until the developer, Kostya, will be back from his vacation (on Monday).
(I doubt that anybody else from MobiSystems [that/who "puts great effort in developing, testing and supporting the app", would know the answer to that question.]

In the mean time, I'd seriously recommend reducing "messages to sync" to 1-2 weeks, and, probably increasing "messages to cache" to, say 500-1000.


mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #9 on: September 23, 2017, 04:50:48 am »

If you have 3500+ deleted messages over 30-day period, I wonder: how many messages do you have in your Inbox? If you have more than that, you might consider reducing that number.
If you really need some of the older messages, you can always keep scrolling, and the app will load additional messages.

I have 31 messages in my inbox. This is my point. AquaMail is syncing some 30 days worth of garbage in the deleted files - it grew by 300 today. I get a LOT of messages that get deleted without being downloaded to the phone. Except now they are downloaded to the phone in the deleted items folder. Reducing number of days is just not going to help me out here - the new messages grow plenty fast.

And I'm not going to start managing my deleted items folder, which I like to keep a year back. AquaMail is supposed to work for me - I don't work for it.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: limit sync of sent and deleted
« Reply #10 on: September 23, 2017, 04:56:08 am »
I am not Aquamail developer. I am just a user who is trying to help other users.

And as I wrote above, - wait until Monday, and/or write to support / at sign / aqua-mail / dot com .

mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #11 on: September 23, 2017, 05:03:43 am »
I am not Aquamail developer. I am just a user who is trying to help other users.

And as I wrote above, - wait until Monday, and/or write to support / at sign / aqua-mail / dot com .
Thanks - I realize I'm not getting an answer today

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: limit sync of sent and deleted
« Reply #12 on: September 26, 2017, 09:29:16 pm »
If it's an Exchange account - there is a "start-up cost" as the app has to ask the server to essentially replay your entire message history to arrive at "the current state". This can consume a lot of traffic / battery.

Once that's done, the subsequent mail checks are incremental.
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/

mrisch

  • Newbie
  • *
  • Posts: 12
Re: limit sync of sent and deleted
« Reply #13 on: September 26, 2017, 09:33:38 pm »
If it's an Exchange account - there is a "start-up cost" as the app has to ask the server to essentially replay your entire message history to arrive at "the current state". This can consume a lot of traffic / battery.

Once that's done, the subsequent mail checks are incremental.

Thanks for the reply. I've been testing email apps like crazy since I learned Touchdown is end of life, so I get the startup cost. But I'm way past that now - I've been using this for nearly a week. Every successive sync is taking 1MB or so. Syncing only takes 20K on Touchdown and 100K on Nine. So something else has to be happening. And my "on phone" deleted items grows by a couple hundred messages a day - all messages that I don't sync to my phone (they come in via RSS).

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: limit sync of sent and deleted
« Reply #14 on: September 29, 2017, 09:10:23 pm »
Re: And my "on phone" deleted items grows by a couple hundred messages a day - all messages that I don't sync to my phone (they come in via RSS).

Hmm, maybe it's this then?
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/