Methods

Connect to a server.

Set the server name/ip and username, password, etc.

Clear messages

Delete and expunge all messages in a named mailbox.

Get messages

Get all messages from a named mailbox.