#15 add mailgun rest api support + fi bug when sending ticket the first time, the 'to' field was empty because the unupdated ticket object was used