added flash message confirming email sent