Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmail IMAP gets disconnected when moving an email to Trash #172

Closed
d99kris opened this issue Dec 7, 2024 · 0 comments
Closed

Gmail IMAP gets disconnected when moving an email to Trash #172

d99kris opened this issue Dec 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@d99kris
Copy link
Owner

d99kris commented Dec 7, 2024

Description:
This issue was introduced around 2024 Q3 and is not specific to nmail, it can be reproduced with curl as well. It was reported in Google community forums - Gmail IMAP connection gets closed when moving an email to Trash - but it has not yet been fixed on Gmail side.

Since it's an inconvenience to have nmail lose server connection and reconnect every time one deletes email (with an Gmail account), the plan is to implement a workaround for Gmail using UID COPY to Trash, and then mark the email for deletion in source folder, and expunge emails marked for deletion.

How to reproduce it:
Set up nmail with a Gmail account, press d to delete an email.
The top right status message indicates Disconnected and then Reconnecting.

Environment:

  • Version: v5.2.1
  • OS / distro: macOS v15.1.1
@d99kris d99kris added the bug Something isn't working label Dec 7, 2024
@d99kris d99kris self-assigned this Dec 7, 2024
@d99kris d99kris closed this as completed in 05c7a04 Dec 7, 2024
@d99kris d99kris changed the title Gmail IMAP gets diconnected when moving an email to Trash Gmail IMAP gets disconnected when moving an email to Trash Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant