Migrate mailsettings, fix copying portal languages migration tests