So let's see --
There are 4 actual new messages on the server -- and you used web mail to confirm
And they turned into 400 in AquaMail
And this happened more than once?
If it does happen still, with new messages each night, can you *please* capture the issue in the app's debug log? With "record session data" enabled?
the answer to your questions is yes to all and it not only during the night time settings, I became aware of the problem because I was not checking during that time ;-), the problem is constant all day long.
Let me recap the situation here, if one mail arrives on the server it get pushed as intended per imap settings, but it keeps on getting pushed every couple of minutes after that in the inbox with a sound notification like if it was a new mail....also when I open the app the same mail (or mails if I have more than one) get pushed again, same if I do a manual refresh while in the inbox...
After doing some debugging on my own, I realized that this happens if I don't check the option to "remove deleted messages" in "account options" as sometimes I want to keep some mails on my phone but not on the server...
I can resolve the problem of the mail keeping adding to my inbox by checking option to remove local copies when no longer on server as opposed to my previous setting, but that only solve one part of the problem as even with that I will keep on getting sound notification every couple of minutes for the same mail, but this time around the mail is not pushed again in aquamail, just the sound notification keeps on coming in constantly at interval with a notification in the status bar (even if I already checked that mail).
the only way for me to stop the 2 scenarios is to delete the mail(s)...
I did 2 logs, one with the option box checked and one without, sent them to your gmail account so you can take a look at it when you have time.
Thanks