Class for sending mail via api Marketion