ListNewMessages Method
Queries a list of new messages available in the current mailbox on the mail server.
Syntax
public func listNewMessages() throws -> Void
Remarks
Retrieves a list of new messages (i.e. those having Recent flag set and not having Seen flag set) present in CurrentMailbox.