Is it possible to save the E-Mailmessage?

Is there a function to call the saveAs function form Groupwise? -> I would like to save the email messages as a *.txt, *.eml, *.rtf file. And if it is possible as a *.html file.

Or must I write a function by myself to solve that task?