changed link
added email sent functionality