Using Automation MAPI

Hello, I am trying to Codeunit 397 (Mail) to create email pre completed with subject, text etc, I see there is a function named NewMessage but it doesn’t anything, please could someone point me in the right direction as I am a new starter to navision development. Many thanks Chucky