Implemented email protocol.