Transfer email to another account

My father-in-law has used cable one email for years and in January it will no longer be supported. Customer service can’t help him transfer his email and the suggestion on the cable one website of importing it into gmail only moved his inbox over and nothing else. He is a surgeon that has used this email as his primary account for his practice and needs to move over about 20,000 emails. Does anyone have bay automation suggestions that could help me transfer or forward all those emails to another account?

Thanks

Hi,

I have not tried this code with that many emails but this will move the selected emails to another IMAP account

tell application "Mail"
	with timeout of 90000 seconds
		set theSelectedMessages to selection
		repeat with theMessage in theSelectedMessages
			set theMailbox to "Test"
			tell application "Mail"
				move the theMessage to mailbox theMailbox of account "Outlook"
			end tell
		end repeat
	end timeout
end tell

While this one will move them to a folder your create in “On My Mac”

tell application "Mail"
	with timeout of 90000 seconds
		set theSelectedMessages to selection
		repeat with theMessage in theSelectedMessages
			set theMailbox to "Test"
			tell application "Mail"
				move the theMessage to mailbox theMailbox
			end tell
		end repeat
	end timeout
end tell

Hope they give you some ideas on how to help your father-in-law out.

Cheers

Iain

Gmail will do this. Just create a Gmail account and go into the settings, give it the information for your existing account, and it will take care of the rest.