I'm looking for a way to automate the setup of Apple Mail in 10.8. We use Google Apps for mail. I have an applescript that works great, if there's already an account created in Apple Mail. If there is no account already created the applescript fails due to the Mail Assistant popping up.
Is there a way to setup Apple Mail using configuration profiles? Or scripting without the assistant popping up?
My dream is that this script runs at the initial login to setup Apple Mail for the user.
