Skip to content

Define the mailbox attachment contract needed by Android #114

Open

Description

@LunaStev

Roadmap: #76

Goal

Specify attachment support before adding file controls to the Android mailbox. Current SendMailRequest and message views do not expose an attachment contract.

Acceptance criteria

  • Document how incoming MIME parts become stable attachment identifiers and public metadata within an authenticated message view.
  • Specify authorized download/upload behavior, size limits, supported content handling, and retention.
  • Define safe filenames, content types, and account ownership checks with synthetic MIME fixtures.
  • Specify Android file-picker and temporary-file lifecycle requirements without broad storage access.
  • Record the contract and identify separate server retrieval, upload, and Android UI implementation tasks.

Start: internal/web/handler/mailbox.go, internal/mail/repository.go, and internal/identity/. Coordinate with #14 for MIME parsing; do not duplicate that bug fix.

Prerequisites: #88.

Activity

  1. added
    enhancement
    help wanted
    mail
    android
    difficulty: advanced
    on Sep 24, 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

    androiddifficulty: advancedenhancementhelp wantedmail

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions