Show an import preflight summary before copying data #286

Closed
opened 2026-12-04 02:37:06 +01:00 by parkel · 0 comments
Owner

Goal

Let users see what an import will bring over before starting it. Start with external IMAP imports (#258). Keep the summary pattern reusable for WordPress (#235) and DirectAdmin, without making those changes part of the first implementation.

IMAP scope

  • Offer a read-only preflight that checks the source connection and the selected destination mailbox. Do not copy messages, change DNS, or require the destination mailbox password.
  • Show the source and destination, the total folder and message counts, and a per-folder breakdown. Show estimated size if it can be obtained without downloading messages. Make partial results and unavailable estimates explicit.
  • For a resumed or incremental import, distinguish the source inventory from the expected work remaining where this can be determined from the existing checkpoint. Label the numbers as a snapshot, since the source mailbox may change before the copy.
  • Run a long preflight in the background and refresh its status automatically. Keep the existing one-click import available when users do not need a preview. When they do preview, let them start the confirmed copy without re-entering source credentials while the preflight is still valid. Reuse scoped access and short-lived secret handling.
  • Show actionable errors for failed authentication and unreadable folders. Never display source passwords or message content in the preview.

Verification

Test an empty mailbox, a mailbox with multiple and nested folders, a source with no usable size estimate, and a resumed import. Confirm preflight leaves both mailboxes unchanged and does not enqueue a copy until the user starts one.

Possible follow-ups

For WordPress, summarize files, database contents at a high level, and the destination. For DirectAdmin, summarize accounts, domains, and included services where the archive supports it. Reuse existing preview flows and show unsupported or skipped items explicitly.

## Goal Let users see what an import will bring over before starting it. Start with external IMAP imports (#258). Keep the summary pattern reusable for WordPress (#235) and DirectAdmin, without making those changes part of the first implementation. ## IMAP scope - Offer a read-only preflight that checks the source connection and the selected destination mailbox. Do not copy messages, change DNS, or require the destination mailbox password. - Show the source and destination, the total folder and message counts, and a per-folder breakdown. Show estimated size if it can be obtained without downloading messages. Make partial results and unavailable estimates explicit. - For a resumed or incremental import, distinguish the source inventory from the expected work remaining where this can be determined from the existing checkpoint. Label the numbers as a snapshot, since the source mailbox may change before the copy. - Run a long preflight in the background and refresh its status automatically. Keep the existing one-click import available when users do not need a preview. When they do preview, let them start the confirmed copy without re-entering source credentials while the preflight is still valid. Reuse scoped access and short-lived secret handling. - Show actionable errors for failed authentication and unreadable folders. Never display source passwords or message content in the preview. ## Verification Test an empty mailbox, a mailbox with multiple and nested folders, a source with no usable size estimate, and a resumed import. Confirm preflight leaves both mailboxes unchanged and does not enqueue a copy until the user starts one. ## Possible follow-ups For WordPress, summarize files, database contents at a high level, and the destination. For DirectAdmin, summarize accounts, domains, and included services where the archive supports it. Reuse existing preview flows and show unsupported or skipped items explicitly.
parkel added the
kind
feature
area/panelarea/mailarea/migration
labels 2026-12-04 02:37:06 +01:00
parkel added this to the v1.8.0 - Hosting workflows and mail onboarding milestone 2026-12-04 13:47:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#286