sending mail work in progress