Lets get back to Notes' Rich Mail Support. You remember when Forms were pretty much self-contained, and applications could mail the entire form to a user, for the user to manipulate a form, and for the result to be posted back to the database.
As applications get more complex, we're encouraged to put complex LotusScript code into Script Libraries, which is a Good Thing. However, it means that we cannot eMail that form to an Inbox and expect it to work, unless we take the rather serious step of inserting that script library into all mail files.
So why not allow a Use statement such as:
or use "<filepath>myLibrary"
Where the client will attempt to open the nearest database using that replica ID, and then load the script library. Ideally, latently - that is, after the form is loaded.
In terms of templates, we'd need to see something a little more robust than just the replica ID of course. Perhaps if it supported filepath as well, then we might end up with reusable script library 'libraries' that may pool design elements.. ?