Swift definitions for structures, enumerations and functions defined in MS-OXMSG
Add the following line to your project's SwiftPM dependencies:
.package(url: "https://github.com/hughbe/MsgReader", from: "1.0.0"),
import MsgReader
let data = Data(contentsOfFile: "<path-to-file>.msg")!
let file = try MsgFile(data: data)
print(file.subject!)