MailCore is a Mac/iOS framework built to ease the pain of supporting the IMAP and SMTP protocols. With MailCore you can download e-mail, create folders, delete folders, rename folders, send e-mail and etc.