decoder class to match email formats
refactored Encoder, decorer to use design pattern, encapsulated responsibilities to single class so it's easy to change