API Mailer, send emails throug an API with PHPMailer