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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
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.