Split up ImapResponseCode into multiple classes that have appropriate fields