avoid sending out multiple confirmation emails