Swift : email for macOS

let url = URL(string: "mailto:to@example.com?subject=subject&cc=cc@example.com&bcc=bcc@example.com")!
NSWorkspace.shared.open(url)

oops - saw on second reading that you already know this.