These packages are available as a package collection, usable in Xcode or SwiftPM.
MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
1 package.