Author Topic: Archiving Messages With Gmail  (Read 26438 times)

dhd123dhd

  • Newbie
  • *
  • Posts: 5
Archiving Messages With Gmail
« on: June 05, 2015, 08:44:29 am »
I apologize if this has been answered before, which I'm sure it has, but I wasn't able to find the answer through the forum search. Specifically in the FAQ it says:

For Gmail: use Gmail -> All Mail

+ Tap the chosen folder, choose “Sync as Archive” or “Archive, don’t sync”

I am not seeing this option available? Am I missing something?

I want to keep my Gmail label system intact and just archive the messages to their respective labels after I read them.

Thanks in advance for any help.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #1 on: June 05, 2015, 10:14:31 pm »
The "move to archive" is available in 1.5.7, which is currently visible in Play to 50% of all devices / users, and hopefully will go to 100% this weekend.

If you'd rather not wait, just look under "development builds" on this forum here. Same identical .apk's as go into Play.
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: 2762
Re: Archiving Messages With Gmail
« Reply #2 on: June 06, 2015, 12:00:27 am »
The "move to archive" is available in 1.5.7, which is currently visible in Play to 50% of all devices / users, and hopefully will go to 100% this weekend.

If you'd rather not wait, just look under "development builds" on this forum here. Same identical .apk's as go into Play.

http://www.aqua-mail.com/forum/index.php?topic=3628.0

dhd123dhd

  • Newbie
  • *
  • Posts: 5
Re: Archiving Messages With Gmail
« Reply #3 on: June 07, 2015, 01:59:09 pm »
Ok. Thanks for clarifying this and providing the link to dl/install. I did this and see the option available now. Unfortunately I'm still having a problem. I followed the directions as stated in the FAQ but couldn't get things to work. All I need to do is archive messages to my existing labels in gmail from the aqua mail app. Trying both sync as archive and archive don't sync Im really unsure what happened as the messages I tested/swyped in aqua mail, wound up without labels, or with incorrect labels..? I'm doing this from the smart folder in aqua mail.. maybe I'm doing something wrong still?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #4 on: June 07, 2015, 02:11:49 pm »
First, Gmail's IMAP presents each label as a folder. A message with multiple labels will show in multiple folders.

Second, "archive" in AquaMail, assuming that you've pointed the app at "Gmail/All Mail", moves messages there and removes all labels (not just the label's that corresponds to the folder you're moving from).

So "wound up without labels" is exactly what should have happened.

That's what happens too when you "archive" a message in Gmail / web (or Gmail / Android, I guess).

Finally, "to sync or not to sync" does not affect the above -- it's only a question of whether you want Aqua to keep the "archive" (All Mail) folder up to date when it checks mail, or not.

Now, "would up with incorrect labels" -- I'd need a debug log to investigate, please see a link in my signature below.
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/

dhd123dhd

  • Newbie
  • *
  • Posts: 5
Re: Archiving Messages With Gmail
« Reply #5 on: June 09, 2015, 09:10:59 am »
First, Gmail's IMAP presents each label as a folder. A message with multiple labels will show in multiple folders.

Second, "archive" in AquaMail, assuming that you've pointed the app at "Gmail/All Mail", moves messages there and removes all labels (not just the label's that corresponds to the folder you're moving from).

So "wound up without labels" is exactly what should have happened.

That's what happens too when you "archive" a message in Gmail / web (or Gmail / Android, I guess).

Finally, "to sync or not to sync" does not affect the above -- it's only a question of whether you want Aqua to keep the "archive" (All Mail) folder up to date when it checks mail, or not.

Now, "would up with incorrect labels" -- I'd need a debug log to investigate, please see a link in my signature below.

Ok. This makes sense thank you for your quick assistance.

I just found out about Aqua Mail last week. I tried out the free version, read a few reviews and knew this was a must have, I just need to familiarize myself with it some more.

FYI: In Gmail > when a label exists > and a filter exists to filter certain incoming messages to that label > if you click archive from within the inbox > it archives it but also it remains listed under that label.

But I think I resolved my issue by changing my filters in gmail to "skip the inbox"... Then syncing in Aqua Mail smart folder...

If you do want me to submit a debug related to this I will ? but I think for now I'm ok...

Thanks again, I'm very happy with Aqua Mail.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #6 on: June 10, 2015, 01:21:43 am »
>> But I think I resolved my issue by changing my filters in gmail to "skip the inbox"... Then syncing in Aqua Mail smart folder...

That's what I have on all my filters :)

Since you resolved it, and explained the issue so well, I don't see a need for a debug log -- and will try to investigate why when "skip the inbox" is off, "archiving" leaves the message in the original label.
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/

sql.sith

  • Newbie
  • *
  • Posts: 7
Re: Archiving Messages With Gmail
« Reply #7 on: September 19, 2015, 07:58:36 pm »
Fyi, archiving in gmail has a very precise behavior: it removes the Inbox label, and only the Inbox label.

Since AquaMail removes all labels, it is messing up my historical data and causing other unwanted surprises. For example, if I search for all messages with label "home" that are archived, the official gmail way to do this is to search for something like "label:astronomy -label:inbox" or something like that, meaning "find all messages that have the label "astronomy" but do not have the label "Inbox". There is no way to do this after archiving in Aqua because it destroys the association between the message and the "astronomy" tag.

Another way to look at gmail is that labels are just tags that are sometimes presented as folders, and that the meaning of "archived" in gmail is "no longer in my inbox." The behavior of archiving in Aqua is incorrect (for the arbitrary way Google implemented this) because moving something out of your inbox doesn't mean that it should also be disassociated from astronomy in my example.

TL/DR version: I think that archiving, in a gmail account only, needs to remove only the Inbox label, leaving the others alone. Otherwise, you will have unhappy people with broken data, plus your product will not behave like other gmail clients.

Any chance you could fix this? It's keeping me from consolidating my home and work accounts to Aqua because it's messing up my message history. And that's keeping me from buying the Pro license, which I'd like to do even though I don't have to, because this has otherwise been a refreshing email client that works well for me. It especially makes it faster to go through a lot of messages by using Swipes.

Sent from my SM-T700 using Tapatalk
« Last Edit: September 19, 2015, 08:22:19 pm by sql.sith »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #8 on: September 19, 2015, 09:09:01 pm »
@sql.slth

Yes, I'm aware that "labels are just tags that are sometimes presented as folders".

That Gmail's "archive" only removed the *current label* (the folder you're in) is completely new and surprising to me -- I assumed (incorrectly) that "archiving" in Gmail *removed ALL labels*.

Yes, it's an easy fix -- just need to disable some code (removing all labels for Gmail, as a special case, took some additional, and fairly complex, logic).
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/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #9 on: September 19, 2015, 09:51:13 pm »
Done. Look for it in the next -dev build.
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/

sql.sith

  • Newbie
  • *
  • Posts: 7
Re: Archiving Messages With Gmail
« Reply #10 on: September 20, 2015, 08:16:13 pm »
I'm glad to be able to let you know about the Inbox label and archiving. More than that, I'm impressed by the speed of your reply - now THAT is fantastic responsiveness! And, judging by the number of other new posts, it looks like this kind of response is not unusual. If you ever get tired of being an awesome independent developer, come talk to us at GoDaddy!

If I don't grab the dev build, what's your typical release cycle through the Play Store?

sql.sith

  • Newbie
  • *
  • Posts: 7
Re: Archiving Messages With Gmail
« Reply #11 on: September 21, 2015, 02:09:50 am »
Thanks, Paris Geek!

Kostya, I have purchased the paid edition, added my Gmail account back to Aqua Mail, and tested / confirmed the fix. I did it in that order because (purchased before verifying) because, once again, I am very impressed with the quick response.

The fix looks perfect - thanks again!

Sent from my SM-G920V using Tapatalk


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #12 on: September 21, 2015, 02:13:09 pm »
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/

sql.sith

  • Newbie
  • *
  • Posts: 7
Re: Archiving Messages With Gmail
« Reply #13 on: September 28, 2015, 04:22:27 am »
Hey, I thought I'd already replied to this, but I don't see anything. I work in development for the registrar, so I'm not in hosting or customer care. So I reached out within development and told a couple of the folks there about this. They are, I think, well-placed to address this. Hopefully you'll hear from them soon. If not, PM me or just reply here.

Thanks,
Chris Leonard
Darth Data, SQL Sith

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Archiving Messages With Gmail
« Reply #14 on: September 28, 2015, 03:25:57 pm »
Thank you Chris.
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/