Added mailing client implementation and mock.