switch emails & add confirm tamplate