added confirmation before sending the mail