Using applescript to be part of rules in Outlook 2011 mac

I made a script to print my email automatically, this script will be part of a Rule.

I need to know how to tell Applescript that to wich message it refers to. For my tests i wrote it like this just to see if everythin works. And it works, no i want to apply this script to a rule.

tell application “Microsoft Outlook”
set myMessage to first message of inbox
tell myMessage
set AppleScript’s text item delimiters to return
set myAttachment to name of every attachment as string
set AppleScript’s text item delimiters to “”
set myContent to myAttachment
set content to content of myMessage & return & return & myAttachment
print myMessage with properties {target printer:“dnssd://HP%20Color%20LaserJet%20CP3525%20%5B896CB3%5D._printer._tcp.local.”, copies:1, pictures:true, message header name:true, message header display name:“infographie”, show email address:true, background:true, description:true}
end tell
end tell

So I don’t what i have to put instead of (first mesasge of inbox).

Can somebody help me with this please?