Skip to content

Allow users to move archived or trashed mail back to Inbox #38

Open

Description

@LunaStev

Motivation

applyMailboxAction supports archive, trash, read and unread but has no operation returning an entry to Inbox. The UI exposes Archive and Trash folders without a restore action.

Code references

Audit baseline: 50eb207.

Completion criteria

  • Add an explicit move-to-Inbox/restore action for entries in Archive or Trash without claiming to restore a deleted blob.
  • Enforce mailbox ownership and separate administrator authorization for team mail.
  • Preserve message bytes, entry identity and read/unread flags; refresh selection and folder counts consistently.
  • Cover personal/team mail, forged entry IDs, invalid source states and EN/KO UI.

Scope and dependencies

Difficulty: medium.

This is a reversible mailbox-entry move only; no permanent deletion, external client support or SMTP changes.

Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.

Activity

  1. added
    enhancement
    help wanted
    mail
    priority medium
    needs testing
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedmailneeds testingpriority medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions