added email.send() to test view