Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Archive/Delete integration with Gmail via IMAP

  • 2 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par carln

more options

I want to be able to use the archive and delete functions in Thunderbird for a Gmail account that will have the following results:

I want to be able to archive email in TB with the following results: (a) the email is moved to an archive folder in TB (b) the email is de-labelled in Gmail, i.e. it ends up in All Mail only.

I want a Delete in TB to delete the email on TB and send to the Bin on Gmail.

I don't want to have to sync the "All Mail" label from Gmail to TB.

Currently, I have a set up as follows: I have archive switched off on TB. I have Delete set to mark as deleted and I have auto-expunge on in Gmail. This way "deleting" an email from the inbox in TB actually archives it in Gmail. I then have a separate account in TB set to download all emails from gmail by POP3 which serves as the TB archive. To delete emails: I have created a folder in TB called "to delete" and I move any emails I want to delete to that. Then from time to time I log into Gmail and bin everything in that folder.

My workaround achieves everything except that the local archive still contains everything that I have actually deleted.

I have tried to change this. I turned on Archive in TB and set it to keep an archive of the email in Local Folders. I left Delete as is and in Gmail I turned off auto-expunge and set it to Bin emails on expunge. The plan will then be to discontinue the POP3 download. BUT I have found that if I archive or delete an email in TB the email is struck through to show it is marked as deleted, but even if I move out of the inbox and back in or force a send/receive or I close TB completely and log back in the emails are still sitting there. And in neither case does the email leave the Inbox in Gmail. I do wonder if the fact that I have Gmail on my phone is causing a problem because the emails are showing there too and therefore the "expunged from the last visible IMAP folder" means that Gmail is not yet acting on the deletion.

Any advice welcome.

I want to be able to use the archive and delete functions in Thunderbird for a Gmail account that will have the following results: I want to be able to archive email in TB with the following results: (a) the email is moved to an archive folder in TB (b) the email is de-labelled in Gmail, i.e. it ends up in All Mail only. I want a Delete in TB to delete the email on TB and send to the Bin on Gmail. I don't want to have to sync the "All Mail" label from Gmail to TB. Currently, I have a set up as follows: I have archive switched off on TB. I have Delete set to mark as deleted and I have auto-expunge on in Gmail. This way "deleting" an email from the inbox in TB actually archives it in Gmail. I then have a separate account in TB set to download all emails from gmail by POP3 which serves as the TB archive. To delete emails: I have created a folder in TB called "to delete" and I move any emails I want to delete to that. Then from time to time I log into Gmail and bin everything in that folder. My workaround achieves everything except that the local archive still contains everything that I have actually deleted. I have tried to change this. I turned on Archive in TB and set it to keep an archive of the email in Local Folders. I left Delete as is and in Gmail I turned off auto-expunge and set it to Bin emails on expunge. The plan will then be to discontinue the POP3 download. BUT I have found that if I archive or delete an email in TB the email is struck through to show it is marked as deleted, but even if I move out of the inbox and back in or force a send/receive or I close TB completely and log back in the emails are still sitting there. And in neither case does the email leave the Inbox in Gmail. I do wonder if the fact that I have Gmail on my phone is causing a problem because the emails are showing there too and therefore the "expunged from the last visible IMAP folder" means that Gmail is not yet acting on the deletion. Any advice welcome.

Modifié le par carln

Solution choisie

Thinking about this further, a solution might be:

Leave auto-expunge on. I think archiving in TB will then cause the relevant email to also be archived (kept in All Mail) in Gmail.

Set delete in TB to move it to the Trash/Bin folder (whatever syncs with Gmails bin) rather than just mark as deleted.

Let me try that and report back.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (2)

more options

Solution choisie

Thinking about this further, a solution might be:

Leave auto-expunge on. I think archiving in TB will then cause the relevant email to also be archived (kept in All Mail) in Gmail.

Set delete in TB to move it to the Trash/Bin folder (whatever syncs with Gmails bin) rather than just mark as deleted.

Let me try that and report back.

more options

So that works. Easy when you think about it.