Android email application bug: unable to delete email messages

Today I noticed something interesting on my Samsung Galaxy S2 aka. Epic 4G Touch: I’m unable to delete email messages using Android’s stock email application.

I did a bit of research and it’s definitely a bug. There are at least four bug reports I could find on Google’s Android project:

  1. 12282 IMAP email deletion not working
  2. 13195 Certain emails reappear after deletion
  3. 16293 IMAP does not work! — a little dramatic 🙂
  4. 16484 Email client reload all previously deleted mail

From what I gather, most complaints are coming from Samsung users (tablet and phone), but I found a few users that reported a similar bug on the Motorola XOOM, which appears to have been resolved. What’s happening is that Android lost track of the folder that keeps your deleted messages, so when you delete something, it disappears momentarily on the screen, assuming that the command executed successfully, but since Android doesn’t know where to put that deleted message, it simply keeps it in the inbox. Then when you refresh your inbox to retrieve new messages, it shows back up.

So what can we do about this? There are three workarounds I currently know about.

1. Move your email message to the trash as apposed to using the delete button

This is probabaly the least convenient option, as it involves more steps, but it is the quickest to implement. When you’re looking at your list of emails, press the menu key and then the move to folder button. Select the messages you want to “delete” and click on the move to folder button. Then choose your folder, whether it’s trash (will be stored locally) or something like INBOX.Trash (will be stored in trash on server), and your message(s) will be moved.

2. Use another email client such as K-9 Mail (free)

You basically download an entirely different application and setup all your email accounts on it. The delete command has been confirmed working in K-9 😉 according to users who have my phone and switched. This application is available for free in the Android market and seems the most recommended.

3. Root your phone and edit a database file

This is the only permanent solution that let’s you keep your stock email application, however, before you can edit this file your phone must be rooted, otherwise you don’t have access/permissions to do so. If you browse to /data/data/ on your phone and open this file with a text editor, you can edit your specific email account and reassign that folder. There are more details in a comment on Android’s project page that discusse another bug report called Email app doesn’t handle IMAP folder prefixes properly, but that same user recommended this fix for being able to delete your messages.

I personally will probably use the first method until I get a firmware update. If the issue then isn’t fixed, I’ll consider option #2 or #3.

If someone knows of another solution, I’d love to hear it! As always, feel free to leave comments below.

15 thoughts on “Android email application bug: unable to delete email messages

  1. Kevin

    It is pitiful that a supposed IMAP client is not able to mark messages deleted. This is a fundamental part of the IMAP protocol. I can not understand how this managed to get through quality control – perhaps there was none.

  2. doan

    Do you have the sync problem where the email shows on your android but when you select it then the entire body of the message is stuck in loading…..

    1. Ryan Post author

      I don’t. Does it happen with one or all ISPs, one or all accounts, and some or all email messages? That’s where I’d start in narrowing down what exactly is causing it.

  3. Doug

    Thank you Ryan Sechrest for a temporary solution. @Email on ATT Samsung Galaxy S5 having the same issue.

  4. Puneet

    I was able to rectify the issue on my phone.

    1. Remove email account from phone.
    2. Go to apps and delete cache and data for exchange services and email.
    3. Add email account to phone.

  5. Pratik Ghosh

    On my Samsung Tab 3, the email editor has an annoying bug whereby if one has to delete in the middle any text, the delete key “copy paste” the following part of the paragraph from the deletion point at the end of the paragraph. It goes on repeating the copy paste for each press of the delete (backspace) key. The only way to resolve is to select the text part and do a copy-cut!

  6. Pingback: Global Tech Review | Samsung Galaxy Tab 3 Problems, Errors, Glitches and Solutions [Part 6]

  7. stuart dingman

    i have yahoo email on my LGK7 android phone and on my laptop (same acct.). my laptop shows trash folder is empty. yahoo on my phone has two emails in my trash folder that i can’t delete… why?

  8. Joel Gayman

    I have a slightly different problem with my Samsung Galaxy S2 and the stock email app. It suddenly stopped deleting either multiple or single emails that one has selected with a check box. It will only delete a single highlighted email, but not any that are checked.

    Does anyone know if you can download another copy of the program and see if reinstalling it might fix this,

  9. bogus

    There *IS NO* ‘menu key’ in gmail on samsung android. so there *IS NO* ‘move to folder’

    You need to check that your suggestion is even relevant.


Leave a Reply

Your email address will not be published.