send email when user buys something, fixed double submit when creating new products