AquaMail Forum

English - Android => How do I... => Topic started by: ino on September 05, 2016, 11:42:29 pm

Title: Gmail Label not deleting
Post by: ino on September 05, 2016, 11:42:29 pm
Hi,

In my Google apps account, i have a label with some filters, when I Delete it from my main inbox, using Delete immediately in Aquamail, it moves the message to the label folder showing as unread. i noticed this on the web interface.

Anyway of stopping this happening?

Thanks
Title: Re: Gmail Label not deleting
Post by: StR on September 05, 2016, 11:57:23 pm
The peculiarity of Gmail (or some may call it an idiosyncrasy) is that for proper operation, you have to use "delete: move to Deleted". Make sure your Deleted folder in Aquamail is synced with the corresponding  folder  in Gmail.
Title: Re: Gmail Label not deleting
Post by: ino on September 06, 2016, 12:15:07 am
Thanks, so i have to set the bin/trash to 'use IMAP push'?
Title: Re: Gmail Label not deleting
Post by: Kostya Vasilyev on September 06, 2016, 12:16:53 am
@StR +1

Yes, Gmail treats "delete immediately" as "remove the label that corresponds to the folder" and all messages are still retained in "All Mail", whether they have any labels (folders) left or not.

The "move to deleted" is handled as you would expect.

And no, you do not have to set the trash folder to "push".

Push mail is optional, it's to enable instant notifications for new messages / updates, most users will only want it for the Inbox if at all.

When push is off, the app will sync your actions to the server instantly, and will sync server changes to the phone every 15 minutes.
Title: Re: Gmail Label not deleting
Post by: ino on September 06, 2016, 12:38:29 am
Thanks.

Oh I turned sync off and left push on because aquamail is quite battery hungry:(

Will purge deleted folders permanently delete from the server?

Title: Re: Gmail Label not deleting
Post by: StR on September 06, 2016, 01:20:52 am
Thanks.

Oh I turned sync off and left push on because aquamail is quite battery hungry:(

Will purge deleted folders permanently delete from the server?
Push uses more battery then regular sync.
If you don't need an immediate notification about a new mail, turn off "Push". (But keep a regular sync.)

Just in case: you don't have to have automated sync to be enabled to have Deleted folder synced (which is needed for "proper" deletion).

As far as I know, "purge Deleted folder" will delete the messages that were previously moved to Deleted as permanently as you could with Gmail.
Again, you have to make sure "Deleted" is properly mapped to the corresponding folder on the server. Aquamail usually maps it well for Gmail accounts.
 The FAQ item "How do I access server side folders?" has the description of how to map the folders in case they aren't.
http://www.aqua-mail.com/?page_id=227
(And, by the way, you can find a lot of other useful information there.)
Title: Re: Gmail Label not deleting
Post by: ino on September 06, 2016, 01:27:20 pm
StR,

Thanks i did what you suggested, now all my emails have stopped working, they're not pushing, i have to manually refresh to get push to work:(
Title: Re: Gmail Label not deleting
Post by: StR on September 06, 2016, 01:53:47 pm
You need to turn on the regularly scheduled sync. (The default interval is 15 minutes, you can make that 10, if you want;don't make it shorter than 5.)
Title: Re: Gmail Label not deleting
Post by: ino on September 06, 2016, 06:32:59 pm
it's all working again without the sync.

I prefer push because i need instant emails.
Title: Re: Gmail Label not deleting
Post by: StR on September 06, 2016, 06:51:16 pm
it's all working again without the sync.

I prefer push because i need instant emails.

That's fine if that works for you.

I was addressing the issue of battery usage you mentioned:
Oh I turned sync off and left push on because aquamail is quite battery hungry:(
As Thomas, Duke of Norfolk, wrote in 1538: "a man can not have his cake and eat his cake".  ;)
Title: Re: Gmail Label not deleting
Post by: ino on September 06, 2016, 07:53:11 pm
LOL so true  :)

is there a sync setting  per account?

The only sync setting I see is for all the accounts, where you can set the time.
Title: Re: Gmail Label not deleting
Post by: ino on September 06, 2016, 11:27:14 pm
Thanks Paris Geek  :)
Title: Re: Gmail Label not deleting
Post by: ino on September 08, 2016, 04:43:24 pm
I've checked for a couple of days now, my gmail accounts purge the bin/trash automatically, but with my google apps email I have to manually purge it.

I've doubled checked all my settings against the gmail accounts and they are all exactly the same.

Anything else I should check?
Title: Re: Gmail Label not deleting
Post by: StR on September 08, 2016, 05:00:53 pm
Automatic purging of the deleted messages from the bin/trash folder has nothing to do with Aquamail. It is a property of your Gmail accounts.
I am actually not seeing any configuration option in my Gmail account about how often such a purge happens. I thought Gmail does that every 30 days, so, I am surprised it happened for your this fast.
I am not sure how Gmail apps account behaves and if it can be configured.

In any case, - you may have discovered this already, but just in case: in Aquamail, you can long-press on the [Deleted] folder in the list-view and choose "delete all".
Title: Re: Gmail Label not deleting
Post by: ino on September 08, 2016, 10:49:06 pm
Thanks StR,

I didn't know about the long press delete all, nice tip  :)

Re aboyt battery usage, before i was using only imap push (no sync) with 2 email apps, gmail and k_@ mail and had equal number accounts spread across 2 apps, since i've unified all accounts into aquamail and deleted k_@ mail and stopped using gmail, aquamail is using more battery than the other 2 combined.
Title: Re: Gmail Label not deleting
Post by: StR on September 09, 2016, 12:10:15 am

First of all, one can compare different apps directly only if you have exactly the same configurations for all 3 apps as concerned to sync, push, etc.
(And I am sure they are not the same. E.g. Gmail is not using IMAP, and, at least in my version, there is no option to configure frequency of synchronization. And their push is not IMAP push.) Do you have exactly the same set of labels (in Gmail)/folders (in other two apps) synchronized? Do you have the same settings for how many messages are being synced?
E.g. default in Aquamail is in the number of messages cached/synced (By the way, what are your settings there?), while Gmail sets the number of days instead. Depending on your account usage pattern, those could effectively mean very different number of messages to be synced.
All those parameters make a difference in how much battery is used.

And then, there are some factors related to how different apps are working. But before that, I should make a disclaimer: I am not a developer.
K-@: I don't know much about k-@ (except the description I've read on Google Play's page). I am not sure if they are using cloud storage as some other apps do. And their website is not available. (It says:  "Published: Friday, 26 February 2016 16:28":  "We switched hosting provider and are in the process of setting up a new website. Stay tuned." -- That's over half a year... I would be very much concerned trusting my e-mail to that app, but that's a separate issue.)
As far as I understand, use of cloud storage can reduce battery and mobile data usage, but it is a privacy/security problem: it likely means that your credentials (login/password) and messages are stored on that company's server. (As an aside, if the company cannot maintain their website, can you trust them with the proper maintenance of the cloud server/storage?)

As for Gmail, - I am not surprised: Gmail is using its own e-mail protocol (developed specifically for the mobile app, and its own OS internal features. For comparison, IMAP is a rather old e-mail protocol. It was developed well before mobile devices. So, despite recent patches/extensions, it is not optimized for mobile communication. (But, it is a rather solid standard shared by many different e-mail providers. And that's its strength.) So, if Gmail didn't use less battery, I'd be surprised.
However, I can tell you that I had some Gmail messages showing up on my phone several hours after arrival. I know a few other users who had a similar complaint.

I hope this information is helpful to you.
Aquamail developer, Kostya, might have more detailed insights once he is back.
Title: Re: Gmail Label not deleting
Post by: ino on September 09, 2016, 02:05:06 am
Thanks StR for that clear explanation  :)

My messages to sync is the default 100 and my messages to cache is the default 250.

Should i change these?

If yes, what do you recommend?

What does the IMAP push session duration mean?

Mine is set to 1hour.
Title: Re: Gmail Label not deleting
Post by: mikeone on September 09, 2016, 02:41:04 am
Thanks StR for that clear explanation  :)

My messages to sync is the default 100 and my messages to cache is the default 250.

Should i change these?

If yes, what do you recommend?

What does the IMAP push session duration mean?

Mine is set to 1hour.
> Should i change these?
The 'Default' settings are very reasonable and usually a tweak isn't really necessary.

> What does the IMAP push session duration mean?
You will find a good explanation from the developer right here:
https://www.aqua-mail.com/forum/index.php?topic=1306.msg3885#msg3885
Title: Re: Gmail Label not deleting
Post by: StR on September 09, 2016, 03:43:25 am
+1 on Mikeone's explanation.

The 'Default' settings are very reasonable and usually a tweak isn't really necessary.
I'd just add to that: I am convinced that settings in Aquamail should be changed only if the user has a very clear idea why that is needed, and what it will do. Otherwise, the default settings are careful chosen so that they are very safe to use (in contrast to, say, many Microsoft products).
Title: Re: Gmail Label not deleting
Post by: mikeone on September 10, 2016, 03:03:37 pm
+1 on Mikeone's explanation.

The 'Default' settings are very reasonable and usually a tweak isn't really necessary.
I'd just add to that: I am convinced that settings in Aquamail should be changed only if the user has a very clear idea why that is needed, and what it will do. Otherwise, the default settings are careful chosen so that they are very safe to use (in contrast to, say, many Microsoft products).
@StR: Thanks for your additional notes 👍