well, i don't think you can upload eamil through ftp.
You may want to refer some articles in wiki http://wiki.dreamhost.com/index.php/E-mail_Import
I'm not familiar with those codes. So I can't provide any more suggestions.
BTW, you can always access email through webmail.yourdomain.com. You can configure email settings through mailboxes.yourdomain.com
Save [color=#CC0000]$97[/color] (max discount) on dreamhost plans by using promo code: [color=#CC0000]97CRAZY[/color].