matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: POP3 batch delete is inefficient

Open andrinoff opened this issue 7 months ago • 1 comments

Describe the bug

The POP3 provider's DeleteEmails implementation calls DeleteEmail in a loop. Each call to DeleteEmail creates a new connection, sends a DELE command, and then QUITs to commit. This is extremely inefficient for batch deletions.

To reproduce

  1. Use a POP3 account.
  2. Select multiple emails and delete them.
  3. Observe multiple connection/authentication cycles.

Expected behavior

DeleteEmails should create a single connection, send all DELE commands, and then QUIT once.

Additional context

Relevant code in backend/pop3/pop3.go.

andrinoff avatar Apr 16 '26 13:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 17 '26 05:05 floatpanebot