@Jesper: Scripting Bridge is problematic and appscript and RubyOSA are effectively dead so you shouldn't be recommending them.
...
@boj: Asking if the AppleScript language itself is "enterprise-ready" is the wrong question, because that's by far the least of your worries. What you should be asking is:
"Can I build high-reliability headless systems out of desktop software running on desktop hardware?"
and:
"Is Apple the right choice for server-side anything?"
iOS may be a fine consumer-oriented mobile platform and OS X a decent desktop OS, but as far as the server room goes I wouldn't touch them with a bargepole unless they were the absolute last and only option (e.g. you're stuck using one of OS X Server's proprietary services, with no other alternative). Virtualization isn't a good idea IME and enterprise basics like LOM and rack-ready enclosures are non-starters. And don't forget Apple's tendency to suddenly/radically revise its product lines, features and services with little or no advance warning. If you want enterprise-level stability, predictability and support, stick to Linux and/or Windows boxen.
In your case you're talking about using iMessage, and since that is 1. a proprietary protocol, and 2. Apple haven't to-date made the underlying APIs public then that does really narrow your options. First thing you should probably ask yourself: are you sure you can't achieve a suitable solution with SMS, which is both open and already well supported at enterprise level? I think you could make a strong business case for that: it may cost a bit more to run, but point out they're paying for stability and reliability and (you hope) a professionally-constructed system.
Anything you build around Messages.app will be an amateur lash-up by comparison. If you are forced down that road, you had better do your research and do not make any promises in advance. For example:
What could cause your system to fail (e.g. application dialogs popping up on a headless box are a serious PITA, and don't discount application crashes, connectivity issues and other possibilities, up to and including the box itself dying)?
What sort of downtimes are you looking at, and what are the cost implications of any failure? (i.e. What's your expected SLA for this service?) If it's anything remotely-business critical or corporate's demanding more than, say, two-nines uptime then run, don't walk, to an existing solution.
What are your options for recovering/restarting the system when something goes wrong (e.g. will you try to jury-rig some automated failover, or have someone remote into the box to try to fix it, or is there an on-site admin to cycle the power), and are there any data loss or other issues you need to worry about? (e.g. You might want to keep your business logic and database on a separate Win/Linux box so that the system doesn't lose track of where it was when the OS X box plays up/gets rebooted.)
What is the deal regarding system maintenance: if you're unreachable or no longer there, will anyone else be able to nurse the code and/or deployed systems without you?
BTW, WWDC and 10.9 are not too far away now, so I would recommend waiting to find out if the iMessage API will be public in 10.9 before spending any time on AppleScript and Messages.app. If/when the messaging API is opened up, it would allow you to build a more robust service in ObjC, though mind you'll still be tied to OS X in order to develop and run it.