How do you create Mail Accounts?

I’ve searched the forums and I’ve found how to create mailboxes. I don’t believe that’s the same as creating accounts. So far I have:

tell application "Mail"
	-- the properties are to include the name, e-mail address, description, incoming mail server, user name, password...
	make new account with properties {name:"newAccount", address:"newAccount@abc.com"}
end tell

This fails.

I wish to also manipulate everything under Preferences > Accounts > Account Information Tab (including Outgoing Mail Server (SMTP) > Edit Server List…) and also items under the Advanced Tab.

My end goal is to create accounts “Account1”, “Account2”, etc… with a value dictating the number of accounts I wish to make through a web interface. I would also assign the account details (domain, SMTP, POP, Incoming Mail Server, Password, etc.) to each account in the same way. I’m assuming that each account will have the same details.

The possibility of being able to rename these accounts later may be a nice addition. But that’s a different script.

This is my first apple script.

Regards,
Alex

Model: MacBook Pro, 2.4 GHz
AppleScript: 2.0.1
Browser: Safari 525.20
Operating System: Mac OS X (10.5)