API is running... sending email after success payment