Android 4.1 IMAP + stock mail bug

On 4.1 (yes, I’m lagging behind with my blog posts) something rather funky happened. And it took my 7 days to notice.

My phone was running hotter and battery life was suddenly crappier than usual. But not really paying attention, until my cell provider (Proximus) texted me I was over my data consumption limit…

As it was the beginning of the month, so that was unusual. I checked data usage in settings, and noticed ~7Gb of traffic by mail app over WiFi and ~3Gb over mobile data.

The day after I noticed the unusual usage (and as I reached 4Gb traffic) Proximus cut off my data connection around 14h00 (leaving me stranded in the middle of Brussels, unable to use my GPS)…After phoning them I got my access back though.

Not sure where to look (some attachment problem? some fucked mail?) I cleared my inbox, and removed all mails from the folder that IMAP syncs on the Android… Still it was downloading continuously. I started to try to debug the IMAP servers, to see what commands my client was sending, but not finding anything interesting there, I started to wonder what to do…

Then I tried something I really didn’t want to try (yea, now that I think of it, I probably should’ve tried that first, and well, something to do with hating to change settings; and it took me 3 days or something before I tried this): I deleted the first of my 2 IMAP accounts, checked back after ~10 minutes to see if data consumption increased, and no, it hadn’t.

Yay. So now I knew the problem was one of the 2 accounts. I restored my mail account (and to my amazement it actually wasn’t that much settings I had to put back) and kept checking on the data. It didn’t increase anymore.

Soooo, oddly enough that solved the issue (remove and readd the IMAP account).

No idea what happened there.

My bill is 145ish euro’s because of this by the way.

Leave a Reply...