add confirmation message when an email is sent