Email sending implemented, needs to be tested on live server