*/
public void saveMessageAsDraft( GWTMessage message ) throws Exception {
try {
log.debug( "saving message to draft..." );
MessageHandler messageHandler = SessionManager.get().getCurrentComposeMessage();
IMailbox mailbox = SessionManager.get().getMailbox();
IMailFolder draftFolder = mailbox.getDraftFolder();
messageHandler.setGWTMessage( message );
messageHandler.saveToFolder( draftFolder, true );
// if there is the original message to delete
if ( message.getId() > 0 ) {
long[] deleteId = new long[] { message.getId() };
deleteMessages( deleteId );