send notification email after api purchase