One cool thing about composite applications is you can literally mix the two worlds of Eclipse and Notes using them. In this demo I created a composite and used Lotus Script to define my actions. The actions then get associated with selected emails and are surfaced using Eclipse extensions to the Mail views. This is a great click to action story where we use Lotus Script and the Eclipse extensibility patterns to leverage current skills in new ways.
The Lotus Script actions use JSON to receive all of the information about the currently selected email and then all of the criteria document is passed into the action via the JSON object. This makes for the Lotus Script side to be quite simple.