Changed casing
Changed api to use json as request body
Added Mailer struct