How to include conditional thank you message in submission emails?