logon and redirect


On our mailserver you can enable “Out of Office” from the WebMail interface. It’s quite easy but most of our users don’t leave Apple Mail so they are not familiar with WebMail. My question is: would it be possible to create an applescript which prompt the user for her/his mail-username and password then opens and log on to the WebMail and redirects to the “Out of Office”-dialog??