Fetch
Fetch copied to clipboard
Make server immutable
Server is currently a mutable object being able to authenticate, set the current mailbox, etc. By making immutable I mean increasing immutability to be able to:
- authenticate to a server with different credentials, so that it does not get overwritten (maybe a connection object or something)
- get mailboxes (as an object) from the server/connection and operate on them directly instead of doing it on the server object
What do you think?