FEAT: Cancellation support for long-running operations
Is your feature request related to a problem?
Long-running operations like fetching large mailboxes, downloading attachments, and sending emails cannot be interrupted. The user must wait for completion or kill the entire process. There is no progress indicator or cancel mechanism.
Describe the solution you'd like
- Add an Esc or Ctrl+C handler that cancels the current background operation (fetch, send, download)
- Show a progress indicator for operations that take more than ~1 second (e.g. "Fetching 500 emails...", "Downloading attachment...")
- Use Go
context.Contextcancellation to propagate cancel signals to backend operations
Describe alternatives you've considered
Adding timeouts to all operations. This partially exists (e.g. 60s timeout for batch operations) but doesn't give users control.
Additional context
This is especially important for large mailboxes where initial fetch can take a long time, and for users on slow connections.
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.
Closing due to inactivity. Reopen if still relevant.