basics of email sending implemented but it doesnt work yet