A class to interact with the DotMailer API.