I've created a calendar event in Automator that creates and sends an email message then quits Mail. It creates and sends the message fine but then gives an error when attempting to quit Mail. I've had it running for months under Lion and recently upgraded that machine to Mountain Lion 10.8.2. The error happened under both versions. The error is -1700 which is
errAECoercionFail. Mail isn't putting up any alerts that might keep it from quitting. Any ideas as to what would cause this?