terminal interaction with pop3:

authentication:

USER uname
PASS pass
  • successful login feedback:
+OK Maildrop has N messages

mailbox enumeration:

LIST
  • list message IDs and sizes
STAT
  • to check mailbox stats like number of messages and total size
UIDL
  • gets the unique IDs of messages
RETR 1
  • retrieves a message
DELE 1
  • marks a message for deletion