Folders and IMAP structure
MailMigrata copies your mail one folder at a time, and it covers Inbox, Sent, and every custom folder that you include. The service keeps that hierarchy as far as IMAP allows, so a nested folder usually stays nested after the job ends. Hosts disagree about separators, so you may see INBOX.Sent on one side and plain Sent on the other.
Gmail labels
Gmail IMAP presents labels rather than folders, so one conversation that carries two labels appears in two different listings. A message that sits in both Inbox and Work can therefore show up twice when your mail client lists that account. MailMigrata reads the Message-ID of every message, so the same email never lands twice on a normal IMAP destination. Gmail All Mail lives at [Gmail]/All Mail, and the label can look like a full duplicate when you also copy Inbox. MailMigrata therefore leaves that collection out unless you really want the extra copy, because a second listing adds no value.
Spam and Trash
MailMigrata leaves Junk and Trash off by default, so a normal job never copies your spam or your deleted mail. A job that lists those folders copies their contents, because the folder selection is the only instruction that MailMigrata follows. MailMigrata copies Junk and Trash only when you name them, so silence keeps both folders out of the migration.
See Message-ID aware dedupe for the way that MailMigrata avoids copying one message twice.