the email_customer option was hard coded to false, so we added the option to control the email_customer parameter in the post