Had to make a change to get email confermation on production to work