The Close function clears all information corresponding to a message, and frees the memory occupied by the message.
CALL ui.Interface.frontCall("WinMail","Close", [id], [ result ] )