icloud supports IMAP and SMTP, it doesn't support POP3.
Remember to use SSL:
imap.ConnectSSL("imap.mail.me.com");
Remember to use only the name part of your iCloud email address only.
For example, emilyparker, not emilyparker@icloud.com:
imap.UseBestLogin("emilyparker", "password");