Activating a service in Mail.app

Hello all,

hopefully this is a simple problem:

how to create an applescript that runs a service in Mail.app? I’d like to create a rule to run the service upon a condition but there is no direct way of doing it from the rules window.

Thanks