Here NotesDocument is actually the email of lotus notes, and we we can easily extract every information or metadata of the email as in form of key and value pair, and can make one hashtable and manually make xml/ html file through this on disk.

Requirement:
I do require to store email on disk as of, in any file format on hard disk through any Lotus notes API/ any other suggested API so that I can easily produce this native file as evidence, in legal judiciary.

(Notes:Attached document is my trial code, but its extracting mails as notes document and storing in html format, via our manual code, and this would not be as native html file.)