Extending Lotus Notes
http://www.ibm.com/developerworks/lotus/library/notes8-mail/index.html