Applescript to check size of Outgoing Email in Entourage ?

I can see from the Rules in Entourage (version 2004) that an Applescript can be executed when a rule is ran in Entourage.
I’m going to have a rule run to remove attachments on Outgoing messages but I would like it to run an Applescript to check the size of the email message/or attachment. If the size exceeds a specified limit then I want Entourage to delete the attachment and/or display a message to the user to advise them ?

Does anyone know if this is at at all possible ?

Any advice would be greatly appreciated !

Many thanks in advance

Mac OSX 10.4.x