Ethical Hacking homework using IMAP protocol